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

Commit 41153fd9 authored by Soonil Nagarkar's avatar Soonil Nagarkar
Browse files

Let GnssLocationProvider pierce battery saving

Don't take battery saving into account in updateRequirements().

Test: CTS
Change-Id: I7645afb19cb866b70cc88d9b23473e9f20a8295d
parent 83f81571
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -976,7 +976,7 @@ public class GnssLocationProvider extends AbstractLocationProvider implements
        }

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