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

Commit ab476cc5 authored by Joanne Chung's avatar Joanne Chung Committed by Android (Google) Code Review
Browse files

Merge "Fix hasEnabledAutofillServices() return wrong value after...

Merge "Fix hasEnabledAutofillServices() return wrong value after AutofillServie updated" into rvc-dev
parents f7862f53 f368dbef
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -1662,12 +1662,8 @@ public final class AutofillManagerService
                @NonNull IResultReceiver receiver) {
            boolean enabled = false;
            synchronized (mLock) {
                final AutofillManagerServiceImpl service = peekServiceForUserLocked(userId);
                if (service != null) {
                final AutofillManagerServiceImpl service = getServiceForUserLocked(userId);
                enabled = Objects.equals(packageName, service.getServicePackageName());
                } else if (sVerbose) {
                    Slog.v(TAG, "isServiceEnabled(): no service for " + userId);
                }
            }
            send(receiver, enabled);
        }