Use Build.HARDWARE to determine "sudden jumping hack"
Bug: 5182291 Change-Id: I6c1ec0c4dd0f96902be89a0ad230dd2264a0dade
This commit is contained in:
parent
a35ea4cba8
commit
40fd76faf2
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
|||
<resources>
|
||||
<string-array name="sudden_jumping_touch_event_device_list" translatable="false">
|
||||
<!-- Nexus One -->
|
||||
<item>passion</item>
|
||||
<item>mahimahi</item>
|
||||
<!-- Droid -->
|
||||
<item>sholes</item>
|
||||
</string-array>
|
||||
|
|
|
@ -51,7 +51,7 @@ public class SuddenJumpingTouchEventHandler {
|
|||
mView = view;
|
||||
final String[] deviceList = context.getResources().getStringArray(
|
||||
R.array.sudden_jumping_touch_event_device_list);
|
||||
mNeedsSuddenJumpingHack = needsSuddenJumpingHack(Build.DEVICE, deviceList);
|
||||
mNeedsSuddenJumpingHack = needsSuddenJumpingHack(Build.HARDWARE, deviceList);
|
||||
}
|
||||
|
||||
private static boolean needsSuddenJumpingHack(String deviceName, String[] deviceList) {
|
||||
|
|
Loading…
Reference in a new issue