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

Commit 968b7592 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix bug in credential manager settings"

parents 324ac7e9 8b604ab4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -247,6 +247,8 @@ public final class CredentialManagerService
            return cancelTransport;
        }

	@SuppressWarnings("GuardedBy") // ErrorProne requires listEnabledProviders
        // to be guarded by 'service.mLock', which is the same as mLock.
        @Override
        public ICancellationSignal listEnabledProviders(IListEnabledProvidersCallback callback) {
            Log.i(TAG, "listEnabledProviders");
@@ -256,7 +258,7 @@ public final class CredentialManagerService
            runForUser(
                    (service) -> {
                        enabledProviders.add(
                                service.getServiceInfo().getComponentName().flattenToString());
                                service.getComponentName().flattenToString());
                    });

            // Call the callback.
+5 −0
Original line number Diff line number Diff line
@@ -53,6 +53,11 @@ public final class CredentialManagerServiceImpl extends
        }
    }

    @GuardedBy("mLock")
    public ComponentName getComponentName() {
        return mInfo.getServiceInfo().getComponentName();
    }

    @Override // from PerUserSystemService
    @GuardedBy("mLock")
    protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent)