Merge commit 'e0751066b05eda8532b7c7d9d55003796490e334' into eclair-mr2-plus-aosp * commit 'e0751066b05eda8532b7c7d9d55003796490e334': Fix issue #2248951: Need to turn off touch filtering outside of sholes
This commit is contained in:
@@ -207,4 +207,11 @@
|
|||||||
|
|
||||||
<!-- Enables swipe versus poly-finger touch disambiguation in the KeyboardView -->
|
<!-- Enables swipe versus poly-finger touch disambiguation in the KeyboardView -->
|
||||||
<bool name="config_swipeDisambiguation">true</bool>
|
<bool name="config_swipeDisambiguation">true</bool>
|
||||||
|
|
||||||
|
<!-- Enables special filtering code in the framework for raw touch events
|
||||||
|
from the touch driver. This code exists for one particular device,
|
||||||
|
and should not be enabled for any others. Hopefully in the future
|
||||||
|
it will be removed when the lower-level touch driver generates better
|
||||||
|
data. -->
|
||||||
|
<bool name="config_filterTouchEvents">false</bool>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ public abstract class KeyInputQueue {
|
|||||||
* Turn on some hacks we have to improve the touch interaction with a
|
* Turn on some hacks we have to improve the touch interaction with a
|
||||||
* certain device whose screen currently is not all that good.
|
* 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";
|
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);
|
lt = new LatencyTimer(100, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BAD_TOUCH_HACK = context.getResources().getBoolean(
|
||||||
|
com.android.internal.R.bool.config_filterTouchEvents);
|
||||||
|
|
||||||
mHapticFeedbackCallback = hapticFeedbackCallback;
|
mHapticFeedbackCallback = hapticFeedbackCallback;
|
||||||
|
|
||||||
readExcludedDevices();
|
readExcludedDevices();
|
||||||
|
|||||||
Reference in New Issue
Block a user