mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2025-01-05 09:06:01 +01:00
Fix bug causing Google Maps to die when navigation is started
This commit is contained in:
parent
fcda44b257
commit
e3b91f2635
2
extern/GmsApi
vendored
2
extern/GmsApi
vendored
@ -1 +1 @@
|
|||||||
Subproject commit c43a964cb196f7a30888216dedcd812386c867be
|
Subproject commit 594fb004b7ceac5cf5d9f69bdc0809f3ca106fd7
|
@ -34,6 +34,7 @@ import com.google.android.gms.location.LocationAvailability;
|
|||||||
import com.google.android.gms.location.LocationRequest;
|
import com.google.android.gms.location.LocationRequest;
|
||||||
import com.google.android.gms.location.LocationSettingsRequest;
|
import com.google.android.gms.location.LocationSettingsRequest;
|
||||||
import com.google.android.gms.location.LocationSettingsResult;
|
import com.google.android.gms.location.LocationSettingsResult;
|
||||||
|
import com.google.android.gms.location.LocationSettingsStates;
|
||||||
import com.google.android.gms.location.internal.IGeofencerCallbacks;
|
import com.google.android.gms.location.internal.IGeofencerCallbacks;
|
||||||
import com.google.android.gms.location.internal.IGoogleLocationManagerService;
|
import com.google.android.gms.location.internal.IGoogleLocationManagerService;
|
||||||
import com.google.android.gms.location.internal.ISettingsCallbacks;
|
import com.google.android.gms.location.internal.ISettingsCallbacks;
|
||||||
@ -294,7 +295,7 @@ public class GoogleLocationManagerServiceImpl extends IGoogleLocationManagerServ
|
|||||||
@Override
|
@Override
|
||||||
public void requestLocationSettingsDialog(LocationSettingsRequest settingsRequest, ISettingsCallbacks callback, String packageName) throws RemoteException {
|
public void requestLocationSettingsDialog(LocationSettingsRequest settingsRequest, ISettingsCallbacks callback, String packageName) throws RemoteException {
|
||||||
Log.d(TAG, "requestLocationSettingsDialog: " + settingsRequest);
|
Log.d(TAG, "requestLocationSettingsDialog: " + settingsRequest);
|
||||||
callback.onLocationSettingsResult(new LocationSettingsResult(Status.CANCELED));
|
callback.onLocationSettingsResult(new LocationSettingsResult(new LocationSettingsStates(true, true, false, true, true, false), Status.CANCELED));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user