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

Commit aa00896b authored by Felipe Leme's avatar Felipe Leme
Browse files

Clone autofill service settings on managed profile.

Test: manual verification
Change-Id: I9d13e4230265b18444bfd30fd403c5fb98b88159
Fixes: 37351722
parent 2ed861d5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7077,6 +7077,7 @@ public final class Settings {
            CLONE_TO_MANAGED_PROFILE.add(ACCESSIBILITY_ENABLED);
            CLONE_TO_MANAGED_PROFILE.add(ALLOW_MOCK_LOCATION);
            CLONE_TO_MANAGED_PROFILE.add(ALLOWED_GEOLOCATION_ORIGINS);
            CLONE_TO_MANAGED_PROFILE.add(AUTOFILL_SERVICE);
            CLONE_TO_MANAGED_PROFILE.add(DEFAULT_INPUT_METHOD);
            CLONE_TO_MANAGED_PROFILE.add(ENABLED_ACCESSIBILITY_SERVICES);
            CLONE_TO_MANAGED_PROFILE.add(ENABLED_INPUT_METHODS);
+2 −2
Original line number Diff line number Diff line
@@ -184,7 +184,7 @@ public final class AutofillManagerService extends SystemService {
    }

    @Override
    public void onStopUser(int userId) {
    public void onCleanupUser(int userId) {
        synchronized (mLock) {
            removeCachedServiceLocked(userId);
        }
@@ -211,7 +211,7 @@ public final class AutofillManagerService extends SystemService {
    /**
     * Peeks the service instance for a user.
     *
     * @return service instance or null if not already present
     * @return service instance or {@code null} if not already present
     */
    @Nullable
    AutofillManagerServiceImpl peekServiceForUserLocked(int userId) {