Skip to content

Commit

Permalink
Add resources for Lenovo Tab V7 (PB-6505*)
Browse files Browse the repository at this point in the history
Change-Id: I9fc847729594a02a87ceabf6398f811073014bb1
  • Loading branch information
AndyCGYan committed Jun 26, 2022
1 parent 6a27f78 commit 0aadffe
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Lenovo/TabV7-SystemUI/Android.mk
Original file line number Diff line number Diff line change
@@ -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)
10 changes: 10 additions & 0 deletions Lenovo/TabV7-SystemUI/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -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>
8 changes: 8 additions & 0 deletions Lenovo/TabV7-SystemUI/res/values/config.xml
Original file line number Diff line number Diff line change
@@ -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 changes: 8 additions & 0 deletions Lenovo/TabV7/Android.mk
Original file line number Diff line number Diff line change
@@ -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)
10 changes: 10 additions & 0 deletions Lenovo/TabV7/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -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>
12 changes: 12 additions & 0 deletions Lenovo/TabV7/res/values/config.xml
Original file line number Diff line number Diff line change
@@ -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>
2 changes: 2 additions & 0 deletions overlay.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 0aadffe

Please sign in to comment.