aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/com')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java10
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