patches: fix sysui-taskbar-navfix to add config_taskbarEnabled to framework core/res
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml
|
||||
index 4a633064e..3b4d1f0ee 100644
|
||||
--- a/packages/SystemUI/res/values/config.xml
|
||||
+++ b/packages/SystemUI/res/values/config.xml
|
||||
@@ -1186,4 +1186,8 @@
|
||||
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
|
||||
--- a/core/res/res/values/config.xml
|
||||
+++ b/core/res/res/values/config.xml
|
||||
@@ -4622,6 +4622,10 @@
|
||||
default. This should be controlled in developer options. -->
|
||||
<bool name="config_navBarDefaultTransparent">false</bool>
|
||||
|
||||
<!-- Indicates whether the tapping to open qs panel is supported -->
|
||||
<bool name="config_statusBarTapToExpandShade">false</bool>
|
||||
+
|
||||
+ <!-- Set to false to force traditional navigation bar even on large-screen devices
|
||||
+ (e.g. TV/SBC builds where large dp width should not trigger Taskbar). -->
|
||||
+ <!-- Set to false to disable Taskbar (e.g. TV/SBC builds where large dp width
|
||||
+ should not trigger Taskbar). -->
|
||||
+ <bool name="config_taskbarEnabled">true</bool>
|
||||
</resources>
|
||||
+
|
||||
<!-- Controls the free snap mode for the docked stack divider. In this mode, the divider can be
|
||||
snapped to any position between the first target and the last target. -->
|
||||
<bool name="config_dockedStackDividerFreeSnapMode">false</bool>
|
||||
diff --git a/packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBarControllerImpl.java b/packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBarControllerImpl.java
|
||||
index 3864f18fa..eb552e8d8 100644
|
||||
--- a/packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBarControllerImpl.java
|
||||
+++ b/packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBarControllerImpl.java
|
||||
@@ -288,6 +288,9 @@ public class NavigationBarControllerImpl implements
|
||||
|
||||
Reference in New Issue
Block a user