Merge pull request #448 from AndyCGYan/20220124

Collection of changes
This commit is contained in:
Pierre-Hugues HUSSON 2022-01-24 15:58:14 +01:00 committed by GitHub
commit 0f6857d01e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 76 additions and 7 deletions

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-oppo-reno3pro-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.oppo.reno3pro.systemui"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.systemui"
android:requiredSystemPropertyName="ro.boot.prjname"
android:requiredSystemPropertyValue="+(19101|19335|19501)"
android:priority="1910"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_header_height_keyguard">28dp</dimen>
</resources>

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_padding_start">25px</dimen>
<dimen name="status_bar_padding_end">45px</dimen>
<dimen name="status_bar_header_height_keyguard">132px</dimen>
<dimen name="keyguard_carrier_text_margin">@dimen/status_bar_padding_start</dimen>
<dimen name="system_icons_keyguard_padding_end">@dimen/status_bar_padding_end</dimen>
</resources>

8
OPPO/Reno3Pro/Android.mk Normal file
View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-oppo-reno3pro
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.oppo.reno3pro"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.boot.prjname"
android:requiredSystemPropertyValue="+(19101|19335|19501)"
android:priority="1910"
android:isStatic="true" />
</manifest>

View file

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

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
<dimen name="status_bar_height_portrait">132px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<dimen name="quick_qs_offset_height">@dimen/status_bar_height_portrait</dimen>
<integer name="config_screenBrightnessSettingMinimum">1</integer>
<string name="config_mainBuiltInDisplayCutout">M -540,0 L -540,100 L -409,100 L -409,0 Z</string>
<string name="config_mainBuiltInDisplayCutoutRectApproximation">M -540,0 L -540,100 L -409,100 L -409,0 Z</string>
</resources>

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_padding_start">25px</dimen>
<dimen name="status_bar_padding_end">35px</dimen>
<dimen name="status_bar_padding_end">45px</dimen>
<dimen name="status_bar_header_height_keyguard">132px</dimen>
<dimen name="keyguard_carrier_text_margin">@dimen/status_bar_padding_start</dimen>
<dimen name="system_icons_keyguard_padding_end">@dimen/status_bar_padding_end</dimen>

View file

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.realme.q3"
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.realme.q3"
android:versionCode="1"
android:versionName="1.0">
<overlay android:isStatic="true"
android:priority="701"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+qti/lito*"
<overlay android:isStatic="true"
android:priority="701"
android:requiredSystemPropertyName="ro.boot.prjname"
android:requiredSystemPropertyValue="20669"
android:targetPackage="android"/>
</manifest>

View file

@ -102,6 +102,8 @@ PRODUCT_PACKAGES += \
treble-overlay-oneplus-op8-systemui \
treble-overlay-oppo-peqm00 \
treble-overlay-oppo-peqm00-systemui \
treble-overlay-oppo-reno3pro \
treble-overlay-oppo-reno3pro-systemui \
treble-overlay-oukitel-wp8pro \
treble-overlay-razer-cheryl \
treble-overlay-realme-6 \