Add API to expose ignore settings whitelist for GTS
Bug: 124517571 Test: manually Change-Id: I846f9112c3cc3dde1466ff13e740ccf72c16b833
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user