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

Commit 611fda4a 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
am: 7f1bc85e

Change-Id: I3f92db015ad60b8e6257a71153a58a7883c1cac7
parents 521e705e 7f1bc85e
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();