From 822c7ec5f884725fa7d04e73a551d3b51cae26e9 Mon Sep 17 00:00:00 2001 From: cretin45 Date: Mon, 23 Feb 2015 13:13:22 -0800 Subject: [PATCH] SetupWizard: Remove accessibilty geture check Change-Id: I6cee55773405cc057f0b1e343c93b9f1588666a4 --- .../setupwizard/ui/SetupWizardActivity.java | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java b/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java index b0b0383..2fedee3 100644 --- a/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java +++ b/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java @@ -96,16 +96,14 @@ public class SetupWizardActivity extends Activity implements SetupDataCallbacks if (savedInstanceState != null && savedInstanceState.containsKey("data")) { mSetupData.load(savedInstanceState.getBundle("data")); } - if (EnableAccessibilityController.canEnableAccessibilityViaGesture(this)) { - mEnableAccessibilityController = - EnableAccessibilityController.getInstance(getApplicationContext()); - mRootView.setOnTouchListener(new View.OnTouchListener() { - @Override - public boolean onTouch(View v, MotionEvent event) { - return mEnableAccessibilityController.onInterceptTouchEvent(event); - } - }); - } + mEnableAccessibilityController = + EnableAccessibilityController.getInstance(getApplicationContext()); + mRootView.setOnTouchListener(new View.OnTouchListener() { + @Override + public boolean onTouch(View v, MotionEvent event) { + return mEnableAccessibilityController.onInterceptTouchEvent(event); + } + }); // Since this is a new component, we need to disable here if the user // has already been through setup on a previous version. try {