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

Commit 526ababc authored by Menghan Li's avatar Menghan Li Committed by Android (Google) Code Review
Browse files

Merge "Dynamic update a11y settings when a11y service target is disabled"

parents 8e631a19 556bfd4c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ import android.text.TextUtils;
import android.util.ArrayMap;
import android.view.accessibility.AccessibilityManager;

import androidx.annotation.NonNull;
import androidx.annotation.VisibleForTesting;
import androidx.preference.Preference;
import androidx.preference.PreferenceCategory;
@@ -113,6 +114,11 @@ public class AccessibilitySettings extends DashboardFragment {
            sendUpdate();
        }

        @Override
        public void onPackageModified(@NonNull String packageName) {
            sendUpdate();
        }

        @Override
        public void onPackageAppeared(String packageName, int reason) {
            sendUpdate();