am 40fd76fa
: Use Build.HARDWARE to determine "sudden jumping hack"
* commit '40fd76faf23480f36b82609b62fce215ee71dbf5': Use Build.HARDWARE to determine "sudden jumping hack"
This commit is contained in:
commit
cc06de10e9
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