Merge "Let GnssLocationProvider pierce battery saving"
This commit is contained in:
committed by
Android (Google) Code Review
commit
e3fdf4fa80
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user