mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2025-02-23 07:51:10 +01:00
Return dummy LocationAvailability object instead of null, preventing crash in some apps
This commit is contained in:
parent
27c1c540d6
commit
9a50744324
@ -246,9 +246,9 @@ public class GoogleLocationManagerServiceImpl extends IGoogleLocationManagerServ
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public LocationAvailability iglms34(String var1) throws RemoteException {
|
public LocationAvailability getLocationAvailabilityWithPackage(String packageName) throws RemoteException {
|
||||||
Log.d(TAG, "iglms34: " + var1);
|
Log.d(TAG, "getLocationAvailabilityWithPackage: " + packageName);
|
||||||
return null;
|
return new LocationAvailability();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user