From 847b9e2bc6e43b2cd2448fe15b3734f04563ee39 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sat, 10 Jul 2021 14:53:21 +0000 Subject: [PATCH] Add resources for MBI S10 Change-Id: I771aadb0dc2d2e6d4f1760dd9757755d10956098 --- MBI/S10-SystemUI/Android.mk | 8 +++ MBI/S10-SystemUI/AndroidManifest.xml | 10 ++++ MBI/S10-SystemUI/res/values/config.xml | 6 ++ MBI/S10/Android.mk | 8 +++ MBI/S10/AndroidManifest.xml | 10 ++++ MBI/S10/res/values/config.xml | 23 ++++++++ MBI/S10/res/xml/power_profile.xml | 81 ++++++++++++++++++++++++++ overlay.mk | 2 + 8 files changed, 148 insertions(+) create mode 100644 MBI/S10-SystemUI/Android.mk create mode 100644 MBI/S10-SystemUI/AndroidManifest.xml create mode 100644 MBI/S10-SystemUI/res/values/config.xml create mode 100644 MBI/S10/Android.mk create mode 100644 MBI/S10/AndroidManifest.xml create mode 100644 MBI/S10/res/values/config.xml create mode 100644 MBI/S10/res/xml/power_profile.xml diff --git a/MBI/S10-SystemUI/Android.mk b/MBI/S10-SystemUI/Android.mk new file mode 100644 index 0000000..1c7eb2a --- /dev/null +++ b/MBI/S10-SystemUI/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-mbi-s10-systemui +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/MBI/S10-SystemUI/AndroidManifest.xml b/MBI/S10-SystemUI/AndroidManifest.xml new file mode 100644 index 0000000..68f898a --- /dev/null +++ b/MBI/S10-SystemUI/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/MBI/S10-SystemUI/res/values/config.xml b/MBI/S10-SystemUI/res/values/config.xml new file mode 100644 index 0000000..418928c --- /dev/null +++ b/MBI/S10-SystemUI/res/values/config.xml @@ -0,0 +1,6 @@ + + + 32px + 52px + 36px + diff --git a/MBI/S10/Android.mk b/MBI/S10/Android.mk new file mode 100644 index 0000000..0a6ef36 --- /dev/null +++ b/MBI/S10/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-mbi-s10 +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/MBI/S10/AndroidManifest.xml b/MBI/S10/AndroidManifest.xml new file mode 100644 index 0000000..127be70 --- /dev/null +++ b/MBI/S10/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/MBI/S10/res/values/config.xml b/MBI/S10/res/values/config.xml new file mode 100644 index 0000000..da906db --- /dev/null +++ b/MBI/S10/res/values/config.xml @@ -0,0 +1,23 @@ + + + true + true + + 1 + 10 + 17 + 1 + 102 + + + 10 + 360 + 2800 + + + 10 + 30 + 170 + 235 + + diff --git a/MBI/S10/res/xml/power_profile.xml b/MBI/S10/res/xml/power_profile.xml new file mode 100644 index 0000000..6cfafa5 --- /dev/null +++ b/MBI/S10/res/xml/power_profile.xml @@ -0,0 +1,81 @@ + + + 0 + 183 + 362 + 35 + 0.35 + 0.14 + 107 + 39 + 31 + 51 + 194 + 475 + 3.85 + + 4 + 4 + + + 633000 + 902000 + 1113000 + 1401000 + 1536000 + 1747000 + 1843000 + + + 34 + 60 + 85 + 128 + 163 + 202 + 253 + + + 1113000 + 1401000 + 1747000 + 1958000 + 2150000 + + + 226 + 331 + 497 + 614 + 777 + + 4.7 + 4.7 + 3550 + 38 + 58 + + 12 + 12 + + 0.12 + 163.8 + 87.9 + 0.72 + 3 + 128.449 + 249.718 + + 3600 + + 0.0074 + 0.061 + 0.484 + 3.85 + 30.9 + + 0.35 + 35 + 35 + 3600 + \ No newline at end of file diff --git a/overlay.mk b/overlay.mk index 6b0edb7..9d324a5 100755 --- a/overlay.mk +++ b/overlay.mk @@ -55,6 +55,8 @@ PRODUCT_PACKAGES += \ treble-overlay-lg-g7 \ treble-overlay-lg-v40 \ treble-overlay-lg-velvet \ + treble-overlay-mbi-s10 \ + treble-overlay-mbi-s10-systemui \ treble-overlay-meizu-m2181 \ treble-overlay-meizu-m2181-systemui \ treble-overlay-misc-aod \