Loading src/com/android/settings/accessibility/ToggleAccessibilityServicePreferenceFragment.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -147,7 +147,7 @@ public class ToggleAccessibilityServicePreferenceFragment @Override @Override public boolean onTouch(View v, MotionEvent event) { public boolean onTouch(View v, MotionEvent event) { // Filter obscured touches by consuming them. // 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) { if (event.getAction() == MotionEvent.ACTION_UP) { Toast.makeText(v.getContext(), R.string.touch_filtered_warning, Toast.makeText(v.getContext(), R.string.touch_filtered_warning, Toast.LENGTH_SHORT).show(); Toast.LENGTH_SHORT).show(); Loading Loading
src/com/android/settings/accessibility/ToggleAccessibilityServicePreferenceFragment.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -147,7 +147,7 @@ public class ToggleAccessibilityServicePreferenceFragment @Override @Override public boolean onTouch(View v, MotionEvent event) { public boolean onTouch(View v, MotionEvent event) { // Filter obscured touches by consuming them. // 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) { if (event.getAction() == MotionEvent.ACTION_UP) { Toast.makeText(v.getContext(), R.string.touch_filtered_warning, Toast.makeText(v.getContext(), R.string.touch_filtered_warning, Toast.LENGTH_SHORT).show(); Toast.LENGTH_SHORT).show(); Loading