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

Commit 4a3018c8 authored by Soonil Nagarkar's avatar Soonil Nagarkar Committed by Automerger Merge Worker
Browse files

DO NOT MERGE Remove permission guard on getTestProviderCurrentRequests() am: e38efca8

Change-Id: Iecfcbf0e446e91e0907580638abee53c33b808f0
parents 613cfc75 e38efca8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2598,8 +2598,6 @@ public class LocationManagerService extends ILocationManager.Stub {
    @Override
    @NonNull
    public List<LocationRequest> getTestProviderCurrentRequests(String provider) {
        mContext.enforceCallingOrSelfPermission(Manifest.permission.READ_DEVICE_CONFIG, null);

        LocationProviderManager manager = getLocationProviderManager(provider);
        if (manager == null) {
            throw new IllegalArgumentException("provider doesn't exist: " + provider);