mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-24 12:15:12 +00:00
Return dummy LocationAvailability object instead of null, preventing crash in some apps
This commit is contained in:
parent
27c1c540d6
commit
9a50744324
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue