Create OneHandedModeGesturalOverlay for navigation_bar_gesture_height
When one handed mode enabled, override navigation_bar_gesture_height
with larger region to get better UX on gesture
Test: atest com.android.systemui.onehanded
Test: adb shell cmd overlay list, check overlay package state
enabled : [x] com.android.internal.systemui.onehanded.gestural
disabled :[ ] com.android.internal.systemui.onehanded.gestural
Bug: 157103757
Change-Id: Id50cdb69e07fa344a142105cd7b85494d9d1a706
diff --git a/data/etc/preinstalled-packages-platform-overlays.xml b/data/etc/preinstalled-packages-platform-overlays.xml
index 1724715..ecd7d40 100644
--- a/data/etc/preinstalled-packages-platform-overlays.xml
+++ b/data/etc/preinstalled-packages-platform-overlays.xml
@@ -44,4 +44,7 @@
<install-in-user-type package="com.android.internal.systemui.navbar.twobutton">
<install-in user-type="FULL" />
</install-in-user-type>
+ <install-in-user-type package="com.android.internal.systemui.onehanded.gestural">
+ <install-in user-type="FULL" />
+ </install-in-user-type>
</config>