SetupWizard: Remove accessibilty geture check

Change-Id: I6cee55773405cc057f0b1e343c93b9f1588666a4
This commit is contained in:
cretin45 2015-02-23 13:13:22 -08:00
parent ad4b36e063
commit 822c7ec5f8

View File

@ -96,7 +96,6 @@ public class SetupWizardActivity extends Activity implements SetupDataCallbacks
if (savedInstanceState != null && savedInstanceState.containsKey("data")) { if (savedInstanceState != null && savedInstanceState.containsKey("data")) {
mSetupData.load(savedInstanceState.getBundle("data")); mSetupData.load(savedInstanceState.getBundle("data"));
} }
if (EnableAccessibilityController.canEnableAccessibilityViaGesture(this)) {
mEnableAccessibilityController = mEnableAccessibilityController =
EnableAccessibilityController.getInstance(getApplicationContext()); EnableAccessibilityController.getInstance(getApplicationContext());
mRootView.setOnTouchListener(new View.OnTouchListener() { mRootView.setOnTouchListener(new View.OnTouchListener() {
@ -105,7 +104,6 @@ public class SetupWizardActivity extends Activity implements SetupDataCallbacks
return mEnableAccessibilityController.onInterceptTouchEvent(event); return mEnableAccessibilityController.onInterceptTouchEvent(event);
} }
}); });
}
// Since this is a new component, we need to disable here if the user // Since this is a new component, we need to disable here if the user
// has already been through setup on a previous version. // has already been through setup on a previous version.
try { try {