mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-27 21:53:00 +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
|
||||
public LocationAvailability iglms34(String var1) throws RemoteException {
|
||||
Log.d(TAG, "iglms34: " + var1);
|
||||
return null;
|
||||
public LocationAvailability getLocationAvailabilityWithPackage(String packageName) throws RemoteException {
|
||||
Log.d(TAG, "getLocationAvailabilityWithPackage: " + packageName);
|
||||
return new LocationAvailability();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue