summaryrefslogtreecommitdiffstats
path: root/src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-02-23 13:13:22 -0800
committercretin45 <cretin45@gmail.com>2015-02-23 13:13:22 -0800
commit822c7ec5f884725fa7d04e73a551d3b51cae26e9 (patch)
tree6264b1436b5b9e4d2f7fef06298e2cd003e9e567 /src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java
parentad4b36e063e80975560acae3a27cca524cab2563 (diff)
downloadpackages_apps_SetupWizard-822c7ec5f884725fa7d04e73a551d3b51cae26e9.zip
packages_apps_SetupWizard-822c7ec5f884725fa7d04e73a551d3b51cae26e9.tar.gz
packages_apps_SetupWizard-822c7ec5f884725fa7d04e73a551d3b51cae26e9.tar.bz2
SetupWizard: Remove accessibilty geture check
Change-Id: I6cee55773405cc057f0b1e343c93b9f1588666a4
Diffstat (limited to 'src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java')
-rw-r--r--src/com/cyanogenmod/setupwizard/ui/SetupWizardActivity.java18
1 files 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 {