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

Commit 7f1bc85e authored by Phil Weaver's avatar Phil Weaver Committed by android-build-merger
Browse files

Don't enable a11y service if scary dialog obscured am: 9a1b4eb2 am:...

Don't enable a11y service if scary dialog obscured am: 9a1b4eb2 am: 5d6d70a5 am: beb7f31d am: 11b6279e am: adf8f8bc am: 9b8abd65
am: 82470082

Change-Id: Ieea167c11711139aff52c72c515b919240d7eb1a
parents d4d2b47d 82470082
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ public class ToggleAccessibilityServicePreferenceFragment
                    @Override
                    public boolean onTouch(View v, MotionEvent event) {
                        // Filter obscured touches by consuming them.
                        if ((event.getFlags() & MotionEvent.FLAG_WINDOW_IS_OBSCURED) != 0) {
                        if ((event.getFlags() & MotionEvent.FLAG_WINDOW_IS_PARTIALLY_OBSCURED) != 0) {
                            if (event.getAction() == MotionEvent.ACTION_UP) {
                                Toast.makeText(v.getContext(), R.string.touch_filtered_warning,
                                        Toast.LENGTH_SHORT).show();