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

Commit 8be30bb1 authored by Kenny Root's avatar Kenny Root Committed by The Android Automerger
Browse files

Revert "Accessibility: filter touches to Enable button"

This reverts commit 94d4f23d.

Change-Id: I26a77faed6798e5bf1d51048ffde4aa8b35aae2f
parent 741bc054
Loading
Loading
Loading
Loading
+31 −34
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ public class ToggleAccessibilityServicePreferenceFragment
            if (info == null) {
                return null;
            }
                AlertDialog ad = new AlertDialog.Builder(getActivity())
            return new AlertDialog.Builder(getActivity())
            .setTitle(getString(R.string.enable_service_title,
                    info.getResolveInfo().loadLabel(getPackageManager())))
                    .setIconAttribute(android.R.attr.alertDialogIcon)
@@ -168,9 +168,6 @@ public class ToggleAccessibilityServicePreferenceFragment
                    .setPositiveButton(android.R.string.ok, this)
                    .setNegativeButton(android.R.string.cancel, this)
                    .create();
                ad.getButton(AlertDialog.BUTTON_POSITIVE)
                        .setFilterTouchesWhenObscured(true);
                return ad;
        }
            case DIALOG_ID_DISABLE_WARNING: {
            mShownDialogId = DIALOG_ID_DISABLE_WARNING;