diff options
author | Tsuwei Chen <tsuwei@google.com> | 2014-09-25 14:33:08 -0700 |
---|---|---|
committer | Tsuwei Chen <tsuwei@google.com> | 2014-09-25 14:53:54 -0700 |
commit | 566ebfde2b3195ec5897a680c879241c46f33477 (patch) | |
tree | f9225cb738fa8655221ecb75822f3e12faaecda8 /location/java/com/android | |
parent | 33ae07ab814df0242625bb1e1961f464b630a7fe (diff) | |
download | frameworks_base-566ebfde2b3195ec5897a680c879241c46f33477.zip frameworks_base-566ebfde2b3195ec5897a680c879241c46f33477.tar.gz frameworks_base-566ebfde2b3195ec5897a680c879241c46f33477.tar.bz2 |
Fix an incorrect behavior that failed AT&T privacy test.
Bug: 17278951
Change-Id: I8b8bf4ed19af8738e7cef3553c8a06f7e27c7264
Diffstat (limited to 'location/java/com/android')
-rw-r--r-- | location/java/com/android/internal/location/GpsNetInitiatedHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/location/java/com/android/internal/location/GpsNetInitiatedHandler.java b/location/java/com/android/internal/location/GpsNetInitiatedHandler.java index f0a2072..e9e475c 100644 --- a/location/java/com/android/internal/location/GpsNetInitiatedHandler.java +++ b/location/java/com/android/internal/location/GpsNetInitiatedHandler.java @@ -289,7 +289,7 @@ public class GpsNetInitiatedHandler { + " mPopupImmediately: " + mPopupImmediately + " mInEmergency: " + getInEmergency()); - if (getLocationEnabled() && !getInEmergency()) { + if (!getLocationEnabled() && !getInEmergency()) { // Location is currently disabled, ignore all NI requests. try { mNetInitiatedListener.sendNiResponse(notif.notificationId, |