Fix an incorrect behavior that failed AT&T privacy test.

Bug: 17278951

Change-Id: I8b8bf4ed19af8738e7cef3553c8a06f7e27c7264
This commit is contained in:
Tsuwei Chen
2014-09-25 14:33:08 -07:00
parent 33ae07ab81
commit 566ebfde2b

View File

@@ -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,