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

Commit 40ac0217 authored by Becca Hughes's avatar Becca Hughes
Browse files

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
parent 3e234cde
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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,