0
0
Fork 0
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:
Thibaut Girka 2016-07-31 08:52:44 +02:00 committed by Marvin W
parent 27c1c540d6
commit 9a50744324
No known key found for this signature in database
GPG key ID: 072E9235DB996F2A

View file

@ -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