From 6f345945baeb26954f4929bad04f4c47d355f224 Mon Sep 17 00:00:00 2001 From: Danny Wood Date: Thu, 16 Sep 2021 10:31:52 +0100 Subject: [PATCH] s5neolte: Cleanup device overlays * Remove all that are defaults anyway * Remove non-existant configurations * Relocate any that have moved Change-Id: I60609eac19942a87c8036186e5e990590db913c6 --- .../base/core/res/res/values/config.xml | 64 ++++++++++--------- .../net/wifi/service/res/values/config.xml | 35 ++++++++++ .../lineage/res/res/values/config.xml | 11 ++-- .../packages/apps/Mms/res/xml/mms_config.xml | 38 ----------- .../apps/Settings/res/values/config.xml | 21 ------ .../services/Telephony/res/values/config.xml | 22 ------- 6 files changed, 74 insertions(+), 117 deletions(-) create mode 100644 overlay/frameworks/opt/net/wifi/service/res/values/config.xml delete mode 100644 overlay/packages/apps/Mms/res/xml/mms_config.xml delete mode 100644 overlay/packages/apps/Settings/res/values/config.xml delete mode 100644 overlay/packages/services/Telephony/res/values/config.xml diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 3849160..9e8f975 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -34,10 +34,6 @@ "7,1" - - false - @@ -57,7 +53,7 @@ Doze dreams will run whenever the power manager is in a dozing state. --> com.android.systemui/com.android.systemui.doze.DozeService - + true @@ -66,12 +62,17 @@ The default is false. --> true - - true - - + - lte:1048576,3145728,4194304,524288,1572864,2097152 + lte:1048576,3145728,4194304,1048576,3145728,4194304 + umts:4094,87380,1220608,4096,16384,1220608 + hspa:4094,87380,1220608,4096,16384,1220608 + hsupa:4094,87380,1220608,4096,16384,1220608 + hsdpa:4094,87380,1220608,4096,16384,1220608 + hspap:4094,87380,1220608,4096,16384,1220608 + wifi,1,1,1,-1,true mobile,0,0,0,-1,true @@ -108,20 +113,12 @@ wifi_p2p,13,1,0,-1,true mobile_ia,14,0,2,-1,true mobile_emergency,15,0,2,-1,true - mobile_bip,23,0,2,60000,true - mobile_cas,24,0,3,60000,true - mobile_xcap,27,0,2,60000,true - mobile_ent1,28,0,2,-1,true - mobile_ent2,29,0,2,-1,true + Software implementation will be used if config_hardware_auto_brightness_available is not set --> true - - rmnet0 - 9 @@ -209,9 +218,6 @@ for different hardware and product builds. --> GSM | WCDMA | LTE | CDMA | EVDO - + true - - - true diff --git a/overlay/frameworks/opt/net/wifi/service/res/values/config.xml b/overlay/frameworks/opt/net/wifi/service/res/values/config.xml new file mode 100644 index 0000000..e318d6b --- /dev/null +++ b/overlay/frameworks/opt/net/wifi/service/res/values/config.xml @@ -0,0 +1,35 @@ + + + + + + + + true + + + true + diff --git a/overlay/lineage-sdk/lineage/res/res/values/config.xml b/overlay/lineage-sdk/lineage/res/res/values/config.xml index 25eeeb1..179899f 100644 --- a/overlay/lineage-sdk/lineage/res/res/values/config.xml +++ b/overlay/lineage-sdk/lineage/res/res/values/config.xml @@ -1,10 +1,14 @@ true 400 - false @@ -31,9 +34,6 @@ 20000 - - true - 107 - - - 0 - - - - - - - 1045876 - - - 2592 - - - 2592 - - - http://www.google.com/oha/rdf/ua-profile-kila.xml - - diff --git a/overlay/packages/apps/Settings/res/values/config.xml b/overlay/packages/apps/Settings/res/values/config.xml deleted file mode 100644 index 9699e82..0000000 --- a/overlay/packages/apps/Settings/res/values/config.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - true - diff --git a/overlay/packages/services/Telephony/res/values/config.xml b/overlay/packages/services/Telephony/res/values/config.xml deleted file mode 100644 index 55ea7ce..0000000 --- a/overlay/packages/services/Telephony/res/values/config.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - true - -- 2.20.1