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

Commit 472224cd authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Prevent startNavigating() call when GPS is off" into nyc-dev

parents 7595478f 260d667b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1192,7 +1192,7 @@ public class GnssLocationProvider implements LocationProviderInterface {
        }
        }


        if (DEBUG) Log.d(TAG, "setRequest " + mProviderRequest);
        if (DEBUG) Log.d(TAG, "setRequest " + mProviderRequest);
        if (mProviderRequest.reportLocation && !mDisableGps) {
        if (mProviderRequest.reportLocation && !mDisableGps && isEnabled()) {
            // update client uids
            // update client uids
            updateClientUids(mWorkSource);
            updateClientUids(mWorkSource);