Merge pull request #678 from mmtrt/systemui-overlay-evergreen

Add SystemUI overlay for Xiaomi Poco M4 Pro 5G
This commit is contained in:
Pierre-Hugues HUSSON 2022-12-14 10:30:09 +01:00 committed by GitHub
commit c48193032b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 33 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-pocom4pro5g-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.pocom4pro5g.systemui"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.systemui"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="evergreen"
android:priority="605"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_padding_start">8.0dip</dimen>
<dimen name="status_bar_padding_end">8.0dip</dimen>
</resources>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_padding_top">30.0px</dimen>
</resources>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_padding_end">3.0px</dimen>
<dimen name="status_bar_padding_start">3.0px</dimen>
</resources>

View file

@ -292,6 +292,7 @@ PRODUCT_PACKAGES += \
treble-overlay-xiaomi-pocof4-systemui \
treble-overlay-xiaomi-pocom3pro5g \
treble-overlay-xiaomi-pocom4pro5g \
treble-overlay-xiaomi-pocom4pro5g-systemui \
treble-overlay-xiaomi-pocox3gt \
treble-overlay-xiaomi-redmi10x5g \
treble-overlay-xiaomi-redmi10x5g-systemui \