[Redmi Note 10S] Add SystemUI Overlays

This commit is contained in:
rinmichi 2022-05-09 15:32:05 +08:00
parent 248b700463
commit 900683bb1b
3 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-xiaomi-redminote10s-systemui
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.xiaomi.redminote10s.systemui"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.systemui"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="+(rosemary|secret|maltose)"
android:priority="934"
android:isStatic="true" />
</manifest>

View file

@ -243,6 +243,7 @@ PRODUCT_PACKAGES += \
treble-overlay-xiaomi-redmik20pro-systemui \
treble-overlay-xiaomi-redminote10pro \
treble-overlay-xiaomi-redminote10s \
treble-overlay-xiaomi-redminote10s-systemui \
treble-overlay-xiaomi-redminote11 \
treble-overlay-xiaomi-redminote5 \
treble-overlay-xiaomi-redminote6pro \