add Ulefone Power Armor 13, disable TrebleApp

We don't use TrebleApp on ProtonAOSP GSI
This commit is contained in:
Peter Cai 2021-10-12 21:38:19 -04:00
parent 6b74d4bbe7
commit c41510c7d0
4 changed files with 31 additions and 3 deletions

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-ulefone-power-armor-13
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.ulefone.power_armor_13"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+Ulefone/Power_Armor_13/Power_Armor_13*"
android:priority="219"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_mainBuiltInDisplayCutout">
M 0, 0
H 117
V 92
H 0
L 0, 0
@left
</string>
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
</resources>

View file

@ -1,7 +1,4 @@
PRODUCT_PACKAGES += \
HardwareOverlayPicker \
QtiAudio \
TrebleApp \
treble-overlay-NavBar \
treble-overlay-NightMode \
treble-overlay-SystemUI-FalseLocks \
@ -134,6 +131,7 @@ PRODUCT_PACKAGES += \
treble-overlay-teracube-2e \
treble-overlay-teracube-v7101o \
treble-overlay-tethering \
treble-overlay-ulefone-power-armor-13 \
treble-overlay-umidigi-A3S \
treble-overlay-umidigi-power \
treble-overlay-unihertz-jelly2 \