Loading services/core/java/com/android/server/location/geofence/GeofenceManager.java +6 −1 Original line number Diff line number Diff line Loading @@ -121,7 +121,12 @@ public class GeofenceManager extends @Override protected ListenerOperation<PendingIntent> onActive() { return onLocationChanged(getLastLocation()); Location location = getLastLocation(); if (location != null) { return onLocationChanged(location); } else { return null; } } boolean isAppOpsAllowed() { Loading Loading
services/core/java/com/android/server/location/geofence/GeofenceManager.java +6 −1 Original line number Diff line number Diff line Loading @@ -121,7 +121,12 @@ public class GeofenceManager extends @Override protected ListenerOperation<PendingIntent> onActive() { return onLocationChanged(getLastLocation()); Location location = getLastLocation(); if (location != null) { return onLocationChanged(location); } else { return null; } } boolean isAppOpsAllowed() { Loading