diff options
author | 2010-09-06 14:26:46 +0900 | |
---|---|---|
committer | 2010-09-06 17:57:13 +0900 | |
commit | c8b9afe0378e3f33c3f83271bd1df9678a70c2a2 (patch) | |
tree | 51cedfdaa1869388f5bdf99f81cf74506dca54cd /java/src/com/android/inputmethod/latin/KeyboardSwitcher.java | |
parent | a8d9702fc4782206ea45c53109132138f9e04c18 (diff) | |
download | latinime-c8b9afe0378e3f33c3f83271bd1df9678a70c2a2.tar.gz latinime-c8b9afe0378e3f33c3f83271bd1df9678a70c2a2.tar.xz latinime-c8b9afe0378e3f33c3f83271bd1df9678a70c2a2.zip |
Support multi-touch only when device has distinct multi-touch panel
Bug: 2973373
Change-Id: I9871c09ec8c1c2aa945d97392e61ee1ec585baef
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 |