diff options
| author | mosimchah <mosimchah@gmail.com> | 2021-10-18 19:54:14 -0400 |
|---|---|---|
| committer | mosimchah <mosimchah@gmail.com> | 2021-10-18 19:57:02 -0400 |
| commit | 40b1b92198324d0756785cb89d27d30d29039f99 (patch) | |
| tree | 6fb5e4936a3c736dc11945fa9e7203f3b30751cd | |
| parent | cfd4cd07aed901f99c64edf8bfcc994cb45c1efd (diff) | |
sm8250-common: AICP-ify
Change-Id: Id7326ffb9be60ec4998c52685aa623eac0f129c7
| -rw-r--r-- | aicp.dependencies | 7 | ||||
| -rw-r--r-- | common.mk | 8 | ||||
| -rw-r--r-- | lineage.dependencies | 6 | ||||
| -rw-r--r-- | overlay-lineage/frameworks/base/core/res/res/values/config.xml (renamed from overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml) | 25 | ||||
| -rw-r--r-- | overlay-lineage/packages/apps/PartsBin/res/values/config.xml | 20 |
5 files changed, 58 insertions, 8 deletions
diff --git a/aicp.dependencies b/aicp.dependencies new file mode 100644 index 0000000..6a484aa --- /dev/null +++ b/aicp.dependencies @@ -0,0 +1,7 @@ +[ + { + "repository": "LineageOS/android_kernel_asus_sm8250", + "target_path": "kernel/asus/sm8250", + "branch": "lineage-18.1" + } +] @@ -270,6 +270,10 @@ PRODUCT_PACKAGES += \ libavservices_minijail.vendor \ libavservices_minijail_vendor:32 +# PartsBin +PRODUCT_PACKAGES += \ + PartsBin + # Power PRODUCT_PACKAGES += \ android.hardware.power-service-qti \ @@ -315,8 +319,8 @@ PRODUCT_PACKAGES += \ android.hardware.thermal@2.0-service.qti # Trust HAL -PRODUCT_PACKAGES += \ - vendor.lineage.trust@1.0-service +#PRODUCT_PACKAGES += \ +# vendor.lineage.trust@1.0-service # Update engine PRODUCT_PACKAGES += \ diff --git a/lineage.dependencies b/lineage.dependencies deleted file mode 100644 index 6b3c0cd..0000000 --- a/lineage.dependencies +++ /dev/null @@ -1,6 +0,0 @@ -[ - { - "repository": "android_kernel_asus_sm8250", - "target_path": "kernel/asus/sm8250" - } -] diff --git a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml b/overlay-lineage/frameworks/base/core/res/res/values/config.xml index ff21cb8..0e837ad 100644 --- a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml +++ b/overlay-lineage/frameworks/base/core/res/res/values/config.xml @@ -82,4 +82,29 @@ <string-array name="config_vendorPlatformSignatures" translatable="false"> <item>308203e1308202c9a003020102020900ac08b4b902e81104300d06092a864886f70d01010b0500308186310b3009060355040613025457310f300d06035504080c0654616977616e310f300d06035504070c065461697065693110300e060355040a0c074173757354656b3110300e060355040b0c0750686f6e6542553110300e06035504030c075a533636314b53311f301d06092a864886f70d0109011610737570706f727440617375732e636f6d3020170d3230303130383037303235345a180f32303531303130393037303235345a308186310b3009060355040613025457310f300d06035504080c0654616977616e310f300d06035504070c065461697065693110300e060355040a0c074173757354656b3110300e060355040b0c0750686f6e6542553110300e06035504030c075a533636314b53311f301d06092a864886f70d0109011610737570706f727440617375732e636f6d30820120300d06092a864886f70d01010105000382010d00308201080282010100cc6ee4f00dced3eeefb5b647f8582e196bce357b8852c29f4a66c836f8b457b816f7e4d96f10a02e435321c7464638be90f9de542eceab134d0c9d071d6011b4b519322b877cbd93ec86fedced6c102fc3b5fe87d18988689a8e3ad8f96ba7cea347547a66420790ee8c2d08850c9947abf12aff82c8ac634b7d2dc52e94553b62ea929313c2831d352f92242e1f1cec68f6ad07c1f3e778895ad95bd0c59eac916242d958e7a775740b489018e9e798590cd63193459da7ed865b0abe0334ca3bef5eb457899589f8f3b7b13579b29fea5ca76e62e3aba05d299b9d9fe585361fe909ba2575ce6821dc7aeed6a70ab0cbb2ecf63036a32a472840ef9d8915d9020103a350304e301d0603551d0e041604140970668cd57468b9f8faea33ae8200d8218a6f67301f0603551d230418301680140970668cd57468b9f8faea33ae8200d8218a6f67300c0603551d13040530030101ff300d06092a864886f70d01010b05000382010100aadbf7d21cf431d3ea6e656100e54dae7ba7db0fad919a4c247062f16b67b7b2c116028dd0154cca949685c62bcfffed15832bff756ed38fbbc191f7b3bff43c3d8884c04db00b05981b233e7e940397f70ac45793ba860b32ecf45361ba9199e361b99ec8cc197c57107c16549fa4696d516d0db927bb3956ba4aa141d96696a41f3b7ca06699bab59d2ed60384398a60e65a2202cef71ffa89e5227a632114c8dbb19ef4bd4673bae163bdea27b2dc9321b4d9a67e29abac35488e276be1e18e964ae6511ee83eb79f5724611fa52e63bcd6d4a552836063bbef12930698acfadc2916650f7f75fd818607b5e3247cfff4b683d714e2752501a6c35812d194</item> </string-array> + + <!-- Default state for LiveDisplay --> + <bool name="config_liveDisplayAvailable">true</bool> + + <!-- Control the behavior when the user triple presses the power button. + 0 - Nothing + 1 - Toggle theater mode setting + 2 - Brightness boost + --> + <integer name="config_triplePressOnPowerBehavior">2</integer> + + <!-- Override the default detection behavior for the framework method + android.view.ViewConfiguration#hasPermanentMenuKey(). + Valid settings are: + 0 - No change. Use the default autodetection behavior. + 1 - The device DOES have a permanent menu key; ignore autodetection. + 2 - The device DOES NOT have a permanent menu key; ignore autodetection. --> + <integer name="config_overrideHasPermanentMenuKey">2</integer> + + <bool name="config_needCustomFODView">true</bool> + <bool name="config_supportsInDisplayFingerprint">true</bool> + + <bool name="config_enableSmartPixels">true</bool> + + <bool name="config_enableBurnInProtection">true</bool> </resources> diff --git a/overlay-lineage/packages/apps/PartsBin/res/values/config.xml b/overlay-lineage/packages/apps/PartsBin/res/values/config.xml new file mode 100644 index 0000000..9d05276 --- /dev/null +++ b/overlay-lineage/packages/apps/PartsBin/res/values/config.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2020 AICP-ROM + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 2 of the License, or + (at your option) any later version. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + --> + +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + + <!-- Whether device supports switching the display refreshrate --> + <bool name="config_device_supports_switch_refreshrate">true</bool> +</resources> + |
