Fix an incorrect behavior that failed AT&T privacy test.
Bug: 17278951 Change-Id: I8b8bf4ed19af8738e7cef3553c8a06f7e27c7264
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user