diff options
author | 2011-09-08 10:27:36 +0900 | |
---|---|---|
committer | 2011-09-08 11:02:55 +0900 | |
commit | 2be872555c08a66a820695ca6961e18d02dec359 (patch) | |
tree | c02779fec35c32e4ee8ed45d45bf3583eceb8701 /java/src/com/android/inputmethod | |
parent | 6b97d2b9c2acd04780d517c057afeaeee9e5dbcb (diff) | |
download | latinime-2be872555c08a66a820695ca6961e18d02dec359.tar.gz latinime-2be872555c08a66a820695ca6961e18d02dec359.tar.xz latinime-2be872555c08a66a820695ca6961e18d02dec359.zip |
Use full screen mode on landscape/phone device
Bug: 5262767
Change-Id: I721c18522c972ced9f359f2e5208572d54a4b7a1
Diffstat (limited to 'java/src/com/android/inputmethod')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 68d93295c..08af5c5e3 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1004,15 +1004,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar return false; } - final Resources res = mResources; - final DisplayMetrics dm = res.getDisplayMetrics(); - // If the display is more than X DIP high, don't go to fullscreen mode - final int threshold = res.getDimensionPixelSize(R.dimen.max_height_for_fullscreen); - if (dm.heightPixels >= threshold) { - return false; - } else { - return super.onEvaluateFullscreenMode(); - } + return mResources.getBoolean(R.bool.config_use_fullscreen_mode); } @Override |