summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2021-10-10 02:54:45 -0700
committeralk3pInjection <webmaster@raspii.tech>2023-08-16 15:56:54 +0800
commitd0953836997ca082ab36250cb7e0fcf7b108111d (patch)
treeb33ed2e42b2a21f07bdc8ef690af1880ce2b7d1e
parent0732579e0cb557916ec866c1ffa633a46fa91d94 (diff)
gs201: Allow ConnectivityThermalPowerManager to request thermal mitigation
ConnectivityThermalPowerManager mainly exists to manage thermal mitigation. Change-Id: I7d1ad7cb45a24697e444ac1f85ccfb507cb1ce49
-rw-r--r--overlay-ice/packages/services/Telephony/res/values/config.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/overlay-ice/packages/services/Telephony/res/values/config.xml b/overlay-ice/packages/services/Telephony/res/values/config.xml
new file mode 100644
index 00000000..36fd30cc
--- /dev/null
+++ b/overlay-ice/packages/services/Telephony/res/values/config.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2017 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Phone app resources that may need to be customized
+ for different hardware or product builds. -->
+<resources>
+ <!-- The package names which can request thermal mitigation. -->
+ <string-array name="thermal_mitigation_allowlisted_packages" translatable="false">
+ <item>com.google.android.connectivitythermalpowermanager</item>
+ </string-array>
+</resources>