Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da861962 authored by Zhentao Sun's avatar Zhentao Sun Committed by Android Git Automerger
Browse files

am 0412f5b1: am 5f8afdd8: Merge "Passed the correct gps geofence availability...

am 0412f5b1: am 5f8afdd8: Merge "Passed the correct gps geofence availability value to client." into jb-mr2-dev

* commit '0412f5b1':
  Passed the correct gps geofence availability value to client.
parents 2d704d21 0412f5b1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -399,8 +399,8 @@ public final class GeofenceHardwareImpl {
        boolean available = false;
        if (status == GeofenceHardware.GPS_GEOFENCE_AVAILABLE) available = true;

        int val = (available ? GeofenceHardware.MONITOR_CURRENTLY_UNAVAILABLE :
                GeofenceHardware.MONITOR_CURRENTLY_AVAILABLE);
        int val = (available ? GeofenceHardware.MONITOR_CURRENTLY_AVAILABLE :
                GeofenceHardware.MONITOR_CURRENTLY_UNAVAILABLE);
        setMonitorAvailability(GeofenceHardware.MONITORING_TYPE_GPS_HARDWARE, val);

        acquireWakeLock();