From 04668b81f45dd39c8b78eca2d156f8925d2edc04 Mon Sep 17 00:00:00 2001 From: dmurimi14 Date: Sun, 28 Jul 2019 17:38:33 +0300 Subject: [PATCH] Add Overlay for Infinix ZERO 6 (X620) --- Infinix/Zero6/Android.mk | 8 +++ Infinix/Zero6/AndroidManifest.xml | 10 +++ Infinix/Zero6/res/values-land/notch.xml | 22 +++++++ Infinix/Zero6/res/values/config.xml | 84 +++++++++++++++++++++++++ Infinix/Zero6/res/values/notch.xml | 28 +++++++++ Infinix/Zero6/res/xml/power_profile.xml | 64 +++++++++++++++++++ 6 files changed, 216 insertions(+) create mode 100644 Infinix/Zero6/Android.mk create mode 100644 Infinix/Zero6/AndroidManifest.xml create mode 100644 Infinix/Zero6/res/values-land/notch.xml create mode 100644 Infinix/Zero6/res/values/config.xml create mode 100644 Infinix/Zero6/res/values/notch.xml create mode 100755 Infinix/Zero6/res/xml/power_profile.xml diff --git a/Infinix/Zero6/Android.mk b/Infinix/Zero6/Android.mk new file mode 100644 index 0000000..07249ed --- /dev/null +++ b/Infinix/Zero6/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-infinix-zero6 +LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Infinix/Zero6/AndroidManifest.xml b/Infinix/Zero6/AndroidManifest.xml new file mode 100644 index 0000000..a34885c --- /dev/null +++ b/Infinix/Zero6/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/Infinix/Zero6/res/values-land/notch.xml b/Infinix/Zero6/res/values-land/notch.xml new file mode 100644 index 0000000..7e9d1fc --- /dev/null +++ b/Infinix/Zero6/res/values-land/notch.xml @@ -0,0 +1,22 @@ + + + + + 24dp + \ No newline at end of file diff --git a/Infinix/Zero6/res/values/config.xml b/Infinix/Zero6/res/values/config.xml new file mode 100644 index 0000000..324fc79 --- /dev/null +++ b/Infinix/Zero6/res/values/config.xml @@ -0,0 +1,84 @@ + + + false + true + true + true + true + 1 + 17 + 66 + 1000 + 1000 + 1 + 10 + 180 + 60 + 5 + 299.9939% + + 1 + 2 + 4 + 5 + 8 + 13 + 17 + 21 + 26 + 30 + 34 + 39 + 60 + 140 + 310 + 400 + 500 + 600 + 1000 + 1200 + 1500 + 3000 + 3500 + 4000 + + + 2 + 2 + 3 + 3 + 8 + 10 + 12 + 15 + 17 + 24 + 30 + 30 + 44 + 45 + 48 + 55 + 64 + 66 + 69 + 84 + 93 + 105 + 200 + 240 + 255 + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + diff --git a/Infinix/Zero6/res/values/notch.xml b/Infinix/Zero6/res/values/notch.xml new file mode 100644 index 0000000..fad6dd1 --- /dev/null +++ b/Infinix/Zero6/res/values/notch.xml @@ -0,0 +1,28 @@ + + + + + 86.0px + + 86.0px + + 24dp + 86.0px + M -130,0 L -130,86 L 130,86 L 130,0 Z + diff --git a/Infinix/Zero6/res/xml/power_profile.xml b/Infinix/Zero6/res/xml/power_profile.xml new file mode 100755 index 0000000..b4accd2 --- /dev/null +++ b/Infinix/Zero6/res/xml/power_profile.xml @@ -0,0 +1,64 @@ + + + 0 + 98 + 315 + 95 + 1.2 + 1.6 + 110 + 185 + 23.25 + 96.5 + 316 + 390 + 83 + 84 + 115 + + 17 + 4 + + + 633600 + 902400 + 1113600 + 1401600 + 1536000 + 1612800 + + + 1113600 + 1401600 + 1747200 + 1804800 + + 5.4 + 15 + + 16.65 + 46.31 + 50.77 + 63.93 + 82.85 + 87.9 + + + 112.1 + 145.9 + 198.3 + 223.5 + + + 4 + 4 + + 3650 + + .0185 + .1502 + 1.188 + 9.486 + 75.87 + + \ No newline at end of file