summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lu <luyota@google.com>2021-08-10 22:24:30 +0000
committerMichael Lu <luyota@google.com>2021-08-13 19:55:23 +0000
commit2bbc5cb1b8a31687c2c077c3763d767036f7f494 (patch)
tree390134cdf97e21ffa1b8f69a09101ca908406aef
parent884176f052d2147ae92574c1e6f12d696b2c5e82 (diff)
downloadCellBroadcastReceiver-2bbc5cb1b8a31687c2c077c3763d767036f7f494.tar.gz
Override settingslib_config_headlineFontFamily
The change overrides the string value settingslib_config_headlineFontFamily used by SettingsLib to avoid referencing private resources from the module. Bug: 196106314 Bug: 191387775 Test: Manual to confirm no crashes Change-Id: I2e3a49793167c6d13140ad8b07411c6c96b28ef0
-rw-r--r--res/values-v31/strings.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/res/values-v31/strings.xml b/res/values-v31/strings.xml
new file mode 100644
index 000000000..e9c33eb5f
--- /dev/null
+++ b/res/values-v31/strings.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2021 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.
+-->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- Name of a font family to use for headlines in SettingsLib. This overrides the default value which points to a private resource. Setting it to an empty value allows it to fallback to the default on the device. -->
+ <string name="settingslib_config_headlineFontFamily" translatable="false"></string>
+</resources>