Add API to expose ignore settings whitelist for GTS

Bug: 124517571
Test: manually
Change-Id: I846f9112c3cc3dde1466ff13e740ccf72c16b833
This commit is contained in:
Soonil Nagarkar
2019-02-14 17:21:33 -08:00
parent 93d196b3a8
commit 5140e4fb86
4 changed files with 22 additions and 1 deletions

View File

@@ -413,6 +413,18 @@ public class LocationManager {
}
}
/**
* @hide
*/
@TestApi
public String[] getIgnoreSettingsWhitelist() {
try {
return mService.getIgnoreSettingsWhitelist();
} catch (RemoteException e) {
throw e.rethrowFromSystemServer();
}
}
/**
* @hide - hide this constructor because it has a parameter
* of type ILocationManager, which is a system private class. The