summaryrefslogtreecommitdiffstats
path: root/location/java
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2010-02-05 13:55:16 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2010-02-05 13:55:16 -0800
commitad9bcb22d05fbf130ac64254abd51a137e9a3d3f (patch)
tree51ef94ac11b8822b27b06da4669375863ece12b8 /location/java
parent0af0449301e72a52beeed8f26021e5460004d67a (diff)
parent7d039fbe07687c9046b23b9a3735fe8f95906dde (diff)
downloadframeworks_base-ad9bcb22d05fbf130ac64254abd51a137e9a3d3f.zip
frameworks_base-ad9bcb22d05fbf130ac64254abd51a137e9a3d3f.tar.gz
frameworks_base-ad9bcb22d05fbf130ac64254abd51a137e9a3d3f.tar.bz2
merge from open-source master
Diffstat (limited to 'location/java')
-rwxr-xr-xlocation/java/com/android/internal/location/GpsLocationProvider.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/location/java/com/android/internal/location/GpsLocationProvider.java b/location/java/com/android/internal/location/GpsLocationProvider.java
index add2404..9233ea9 100755
--- a/location/java/com/android/internal/location/GpsLocationProvider.java
+++ b/location/java/com/android/internal/location/GpsLocationProvider.java
@@ -890,6 +890,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;
@@ -899,6 +900,7 @@ public class GpsLocationProvider extends ILocationProvider.Stub {
break;
case GPS_STATUS_ENGINE_OFF:
mEngineOn = false;
+ mNavigating = false;
break;
}