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

Commit 8f40097e authored by Kenny Root's avatar Kenny Root Committed by Android Git Automerger
Browse files

am 18964c90: am 8cc60da4: Merge "Accessibility: filter touches to Enable button" into klp-dev

* commit '18964c90':
  Accessibility: filter touches to Enable button
parents c160135e 18964c90
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;