Loading services/core/java/com/android/server/location/LocationManagerService.java +7 −2 Original line number Diff line number Diff line Loading @@ -1321,8 +1321,10 @@ public class LocationManagerService extends ILocationManager.Stub implements "setAutomotiveGnssSuspended only allowed on automotive devices"); } if (mGnssManagerService != null) { mGnssManagerService.setAutomotiveGnssSuspended(suspended); } } @android.annotation.EnforcePermission(android.Manifest.permission.CONTROL_AUTOMOTIVE_GNSS) @Override Loading @@ -1336,8 +1338,11 @@ public class LocationManagerService extends ILocationManager.Stub implements "isAutomotiveGnssSuspended only allowed on automotive devices"); } if (mGnssManagerService != null) { return mGnssManagerService.isAutomotiveGnssSuspended(); } return false; } @Override public boolean geocoderIsPresent() { Loading Loading
services/core/java/com/android/server/location/LocationManagerService.java +7 −2 Original line number Diff line number Diff line Loading @@ -1321,8 +1321,10 @@ public class LocationManagerService extends ILocationManager.Stub implements "setAutomotiveGnssSuspended only allowed on automotive devices"); } if (mGnssManagerService != null) { mGnssManagerService.setAutomotiveGnssSuspended(suspended); } } @android.annotation.EnforcePermission(android.Manifest.permission.CONTROL_AUTOMOTIVE_GNSS) @Override Loading @@ -1336,8 +1338,11 @@ public class LocationManagerService extends ILocationManager.Stub implements "isAutomotiveGnssSuspended only allowed on automotive devices"); } if (mGnssManagerService != null) { return mGnssManagerService.isAutomotiveGnssSuspended(); } return false; } @Override public boolean geocoderIsPresent() { Loading