Fix issue #2248951: Need to turn off touch filtering outside of sholes

Yet another configuration!

Change-Id: Idf7fafd338a2bebd4c305c131cd9b7ae4f906a5b
This commit is contained in:
Dianne Hackborn
2009-11-10 17:06:22 -08:00
parent 48515f495b
commit 65cb605e5d
2 changed files with 11 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ public abstract class KeyInputQueue {
* Turn on some hacks we have to improve the touch interaction with a
* certain device whose screen currently is not all that good.
*/
static final boolean BAD_TOUCH_HACK = true;
static boolean BAD_TOUCH_HACK = false;
private static final String EXCLUDED_DEVICES_PATH = "etc/excluded-input-devices.xml";
@@ -282,6 +282,9 @@ public abstract class KeyInputQueue {
lt = new LatencyTimer(100, 1000);
}
BAD_TOUCH_HACK = context.getResources().getBoolean(
com.android.internal.R.bool.config_filterTouchEvents);
mHapticFeedbackCallback = hapticFeedbackCallback;
readExcludedDevices();