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

Commit 8a838531 authored by Mike Lockwood's avatar Mike Lockwood Committed by Android (Google) Code Review
Browse files

Merge "Fix for GPS engines without separate session and engine status events."

parents 5d33e6e6 271f9f17
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -885,6 +885,7 @@ public class GpsLocationProvider extends ILocationProvider.Stub {
            switch (status) {
                case GPS_STATUS_SESSION_BEGIN:
                    mNavigating = true;
                    mEngineOn = true;
                    break;
                case GPS_STATUS_SESSION_END:
                    mNavigating = false;
@@ -894,6 +895,7 @@ public class GpsLocationProvider extends ILocationProvider.Stub {
                    break;
                case GPS_STATUS_ENGINE_OFF:
                    mEngineOn = false;
                    mNavigating = false;
                    break;
            }