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

Commit 57b558d8 authored by Tsuwei Chen's avatar Tsuwei Chen Committed by Android Git Automerger
Browse files

am e6e4b2bf: Merge "Fix an incorrect behavior that failed AT&T privacy test." into lmp-dev

* commit 'e6e4b2bfa3782f63ed0b4b802e5a9d59a6a48f49':
  Fix an incorrect behavior that failed AT&T privacy test.
parents dc1fc7fc 43d5d896
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -289,7 +289,7 @@ public class GpsNetInitiatedHandler {
                        + " mPopupImmediately: " + mPopupImmediately
                        + " mPopupImmediately: " + mPopupImmediately
                        + " mInEmergency: " + getInEmergency());
                        + " mInEmergency: " + getInEmergency());


        if (getLocationEnabled() && !getInEmergency()) {
        if (!getLocationEnabled() && !getInEmergency()) {
            // Location is currently disabled, ignore all NI requests.
            // Location is currently disabled, ignore all NI requests.
            try {
            try {
                mNetInitiatedListener.sendNiResponse(notif.notificationId,
                mNetInitiatedListener.sendNiResponse(notif.notificationId,