0
0
Fork 0
mirror of https://github.com/YTVanced/VancedMicroG synced 2025-01-06 23:41:01 +00:00

Make requestLocationSettingsDialog return success

This commit is contained in:
Niklas Sombert 2019-09-11 20:51:24 +02:00 committed by Marvin W
parent 06c8b765ba
commit 0d9bb345a8

View file

@ -307,7 +307,7 @@ public class GoogleLocationManagerServiceImpl extends IGoogleLocationManagerServ
public void requestLocationSettingsDialog(LocationSettingsRequest settingsRequest, ISettingsCallbacks callback, String packageName) throws RemoteException {
Log.d(TAG, "requestLocationSettingsDialog: " + settingsRequest);
PackageUtils.getAndCheckCallingPackage(context, packageName);
callback.onLocationSettingsResult(new LocationSettingsResult(new LocationSettingsStates(true, true, false, true, true, false), Status.CANCELED));
callback.onLocationSettingsResult(new LocationSettingsResult(new LocationSettingsStates(true, true, false, true, true, false), Status.SUCCESS));
}
@Override