From 6d63e953423958f96fbe32bad03808e178ca5604 Mon Sep 17 00:00:00 2001 From: cretin45 Date: Wed, 8 Apr 2015 12:09:55 -0700 Subject: SetupWizard: Handle all touch events in EnableAccessibilityController Change-Id: Icf15be21c90d32305a9c1f8b9835eb473acf1f33 (cherry picked from commit 0fde3a04cc62396b524aadb6a1a30f573a4b1b38) --- src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java') diff --git a/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java b/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java index ae9dd34..65a9806 100644 --- a/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java +++ b/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java @@ -124,7 +124,9 @@ public class SetupWizardActivity extends Activity implements SetupDataCallbacks, mRootView.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { - return mEnableAccessibilityController.onInterceptTouchEvent(event); + return + mEnableAccessibilityController.onInterceptTouchEvent(event) & + mEnableAccessibilityController.onTouchEvent(event); } }); registerReceiver(mSetupData, mSetupData.getIntentFilter()); -- cgit v1.1