当前位置:   article > 正文

rk3568 安卓11双屏异显,隐藏副屏的导航栏

rk3568 安卓11双屏异显,隐藏副屏的导航栏

rk3568 安卓11双屏异显,当前项目有两个屏,一个是mipi 接口设为主屏,一个rgb 接口设为副屏,现在需要将副屏底部虚拟导航栏隐藏,有快速的方法:
在framework/base/services/core/java/com/android/server/wm/DisplayPolicy.java

diff --git a/services/core/java/com/android/server/wm/DisplayPolicy.java b/services/core/java/com/android/server/wm/DisplayPolicy.java
index 29881cc761b2..f340bb308a0f 100644
--- a/services/core/java/com/android/server/wm/DisplayPolicy.java
+++ b/services/core/java/com/android/server/wm/DisplayPolicy.java
@@ -656,7 +656,8 @@ public class DisplayPolicy {
             }
         } else {
             mHasStatusBar = false;
-            mHasNavigationBar = mDisplayContent.supportsSystemDecorations();
+           mHasNavigationBar = false;
+            //mHasNavigationBar = mDisplayContent.supportsSystemDecorations();
         }

         mRefreshRatePolicy = new RefreshRatePolicy(mService,
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14

编译烧录即可。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/279575
推荐阅读
相关标签
  

闽ICP备14008679号