在升级了安卓平板A23 4.4的中性软件后,打开浏览器,点击输入法,发现最右边有一竖条显示黑色,没有满屏的问题。
修改目录在Z:\a23-v1.0\android\frameworks\base\policy\src\com\android\internal\policy\impl\PhoneWindowManager.java
如下是解决方案,该解决方案也是解决Launcher里导航栏正常在下面显示的关键。
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
index c7dd2b5..a61d6ec 100755
--- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -1202,7 +1202,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
int longSizeDp = longSize * DisplayMetrics.DENSITY_DEFAULT / density;
// Allow the navigation bar to move on small devices (phones).
- mNavigationBarCanMove = shortSizeDp < 600;
+ //mNavigationBarCanMove = shortSizeDp < 600;
+ mNavigationBarCanMove = false;
mHasNavigationBar = res.getBoolean(com.android.internal.R.bool.config_showNavigationBar);
// Allow a system property to override this. Used by the emulator.