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

Commit 22b70376 authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Accessibility: filter touches to Enable button"

parents 3829a7b2 96118a4d
Loading
Loading
Loading
Loading
+34 −31
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ public class ToggleAccessibilityServicePreferenceFragment
                if (info == null) {
                    return null;
                }
            return new AlertDialog.Builder(getActivity())
                AlertDialog ad = new AlertDialog.Builder(getActivity())
                        .setTitle(getString(R.string.enable_service_title,
                                info.getResolveInfo().loadLabel(getPackageManager())))
                        .setIconAttribute(android.R.attr.alertDialogIcon)
@@ -168,6 +168,9 @@ 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;