Android 11 修改底部导航栏显示半透明背景

--- a/sprd/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
+++ b/sprd/frameworks/base/core/java/com/android/internal/policy/PhoneWindow.java
@@ -2474,7 +2474,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
             mEnsureStatusBarContrastWhenTransparent = a.getBoolean(
                     R.styleable.Window_enforceStatusBarContrast, false);
             mEnsureNavigationBarContrastWhenTransparent = a.getBoolean(
-                    R.styleable.Window_enforceNavigationBarContrast, true);
+                    R.styleable.Window_enforceNavigationBarContrast, false);
         }

你可能感兴趣的:(Android系统,android)