Add resources for Lenovo Tab V7 (PB-6505*)

Change-Id: I9fc847729594a02a87ceabf6398f811073014bb1
This commit is contained in:
Andy CrossGate Yan 2022-06-26 13:22:50 +08:00
parent 6a27f789bd
commit 0aadffe187
7 changed files with 58 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-lenovo-tabv7-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.lenovo.tabv7.systemui"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.systemui"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="+PB-6505*"
android:priority="6505"
android:isStatic="true" />
</manifest>

View File

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

8
Lenovo/TabV7/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-lenovo-tabv7
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.lenovo.tabv7"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="ro.product.vendor.device"
android:requiredSystemPropertyValue="+PB-6505*"
android:priority="6505"
android:isStatic="true" />
</manifest>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_showNavigationBar">true</bool>
<dimen name="status_bar_height_default">32dp</dimen>
<dimen name="status_bar_height">32dp</dimen>
<dimen name="status_bar_height_portrait">32dp</dimen>
<dimen name="quick_qs_offset_height">32dp</dimen>
<integer name="config_screenBrightnessSettingMinimum">1</integer>
</resources>

View File

@ -55,6 +55,8 @@ PRODUCT_PACKAGES += \
treble-overlay-lenovo-k5pro \
treble-overlay-lenovo-s5 \
treble-overlay-lenovo-s5pro \
treble-overlay-lenovo-tabv7 \
treble-overlay-lenovo-tabv7-systemui \
treble-overlay-lenovo-z5 \
treble-overlay-lg-g7 \
treble-overlay-lg-phoenix_lao_com-phoenix_sprout \