diff options
author | 2010-09-06 02:17:09 -0700 | |
---|---|---|
committer | 2010-09-06 02:17:09 -0700 | |
commit | d5bcbf8156fdba8199452b8f95ed1940b7e96d31 (patch) | |
tree | 51cedfdaa1869388f5bdf99f81cf74506dca54cd /java/src/com/android/inputmethod/latin/KeyboardSwitcher.java | |
parent | b6e3cb8f8de487f537bf8522ed4d494798e03791 (diff) | |
parent | c8b9afe0378e3f33c3f83271bd1df9678a70c2a2 (diff) | |
download | latinime-d5bcbf8156fdba8199452b8f95ed1940b7e96d31.tar.gz latinime-d5bcbf8156fdba8199452b8f95ed1940b7e96d31.tar.xz latinime-d5bcbf8156fdba8199452b8f95ed1940b7e96d31.zip |
am c8b9afe0: Support multi-touch only when device has distinct multi-touch panel
Merge commit 'c8b9afe0378e3f33c3f83271bd1df9678a70c2a2' into gingerbread-plus-aosp
* commit 'c8b9afe0378e3f33c3f83271bd1df9678a70c2a2':
Support multi-touch only when device has distinct multi-touch panel
Diffstat (limited to 'java/src/com/android/inputmethod/latin/KeyboardSwitcher.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/KeyboardSwitcher.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java b/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java index 2919e9b56..3fb74b238 100644 --- a/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java +++ b/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java @@ -365,6 +365,10 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha } } + public boolean hasDistinctMultitouch() { + return mInputView != null && mInputView.hasDistinctMultitouch(); + } + /** * Updates state machine to figure out when to automatically switch back to alpha mode. * Returns true if the keyboard needs to switch back |