aospa: Add support for hiding navabr under screen keyboard [3/3]

Change-Id: Ia808b96e850a1ce859e35af8b89d75d30e34e308
Signed-off-by: LibXZR <i@xzr.moe>
This commit is contained in:
LibXZR 2022-05-08 01:01:02 +08:00 committed by Fazil Sheik
parent dcecab9f5a
commit b5c4732d66
4 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,7 @@
runtime_resource_overlay {
name: "KeyboardNoNavigationBarOverlay",
theme: "KeyboardNoNavigationBar",
certificate: "platform",
sdk_version: "current",
product_specific: true
}

View File

@ -0,0 +1,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="co.aospa.overlay.systemui.navbar.keyboard.nonavbar"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android" android:priority="1" />
<application android:label="KeyboardNoNavigationBarOverlay" android:hasCode="false"/>
</manifest>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Height of the bottom navigation / system bar. -->
<dimen name="navigation_bar_frame_height">0.0dip</dimen>
<!-- Height of the bottom navigation bar frame in landscape -->
<dimen name="navigation_bar_frame_height_landscape">0.0dip</dimen>
</resources>

View File

@ -70,7 +70,8 @@ PRODUCT_PACKAGES += \
IconShapeVesselOverlay \
ParanoidLauncherOverlay \
PermissionControllerOverlay \
OpenDeltaOverlay
OpenDeltaOverlay \
KeyboardNoNavigationBarOverlay
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += vendor/aospa/overlay/static
PRODUCT_PACKAGE_OVERLAYS += vendor/aospa/overlay/static