0
0
Fork 0
mirror of https://github.com/YTVanced/VancedMicroG synced 2024-11-24 04:05:13 +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 @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