Remove QUERY_ALL_APPS permission for listEnabledProviders
We don't actually need this permission because we read the setting and we are getting pushback from settings team about this permission so I removed it and everything still works. That function is stil gated by the other permission. Test: manual & make Bug: 253157366 Change-Id: Ifdd2bcd52e9f38167aa1e087da492396f31df7ad
This commit is contained in:
@@ -208,11 +208,7 @@ public final class CredentialManager {
|
||||
* @param callback the callback invoked when the request succeeds or fails
|
||||
* @hide
|
||||
*/
|
||||
@RequiresPermission(
|
||||
allOf = {
|
||||
android.Manifest.permission.LIST_ENABLED_CREDENTIAL_PROVIDERS,
|
||||
android.Manifest.permission.QUERY_ALL_PACKAGES
|
||||
})
|
||||
@RequiresPermission(android.Manifest.permission.LIST_ENABLED_CREDENTIAL_PROVIDERS)
|
||||
public void listEnabledProviders(
|
||||
@Nullable CancellationSignal cancellationSignal,
|
||||
@CallbackExecutor @NonNull Executor executor,
|
||||
|
||||
Reference in New Issue
Block a user