Vivo Y20: Add SystemUI overlay and Misc tweaks
This commit is contained in:
parent
349317cfa8
commit
8ddd906eab
5 changed files with 30 additions and 2 deletions
8
Vivo/Y20-SystemUI/Android.mk
Normal file
8
Vivo/Y20-SystemUI/Android.mk
Normal file
|
@ -0,0 +1,8 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_PACKAGE_NAME := treble-overlay-vivo-y20-systemui
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
|
||||
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
|
||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||
include $(BUILD_PACKAGE)
|
12
Vivo/Y20-SystemUI/AndroidManifest.xml
Normal file
12
Vivo/Y20-SystemUI/AndroidManifest.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0"
|
||||
package="me.phh.treble.overlay.vivo.y20.systemui"
|
||||
platformBuildVersionCode="30"
|
||||
platformBuildVersionName="11">
|
||||
<overlay android:targetPackage="com.android.systemui"
|
||||
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
|
||||
android:requiredSystemPropertyValue="+*vivo/2026*"
|
||||
android:priority="581"
|
||||
android:isStatic="true" />
|
||||
</manifest>
|
6
Vivo/Y20-SystemUI/res/values/configs.xml
Normal file
6
Vivo/Y20-SystemUI/res/values/configs.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="status_bar_padding_start">30px</dimen>
|
||||
<dimen name="status_bar_padding_end">30px</dimen>
|
||||
<dimen name="status_bar_header_height_keyguard">24.0dip</dimen>
|
||||
</resources>
|
|
@ -1,8 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="config_automatic_brightness_available">true</bool>
|
||||
<bool name="config_showNavigationBar">true</bool>
|
||||
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
|
||||
<bool name="config_showNavigationBar">true</bool>
|
||||
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
|
||||
<bool name="config_supportDoubleTapWake">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_portrait">24.0dip</dimen>
|
||||
<dimen name="status_bar_height_landscape">24.0dip</dimen>
|
||||
|
|
|
@ -194,6 +194,7 @@ PRODUCT_PACKAGES += \
|
|||
treble-overlay-umidigi-power \
|
||||
treble-overlay-unihertz-jelly2 \
|
||||
treble-overlay-vivo-y20 \
|
||||
treble-overlay-vivo-y20-systemui \
|
||||
treble-overlay-vsmart-joy3 \
|
||||
treble-overlay-vsmart-live \
|
||||
treble-overlay-wifi5g \
|
||||
|
|
Loading…
Reference in a new issue