summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lu <luyota@google.com>2021-08-10 22:27:18 +0000
committerMichael Lu <luyota@google.com>2021-08-13 20:00:58 +0000
commit7681056c20ab6fb1a4cb7430433353e93faef90b (patch)
tree95edf079748db158c25dccecb8729bb0a577e5c3
parent4d34ed3eb250ec524f2b46ca5140715b71c5bc56 (diff)
downloadPermission-7681056c20ab6fb1a4cb7430433353e93faef90b.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: 190964071 Bug: 196106314 Test: Manual to confirm no crash Change-Id: Ida53b580c98614b5904c2d79a15069fa16750cd6
-rw-r--r--PermissionController/res/values-v31/strings.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/PermissionController/res/values-v31/strings.xml b/PermissionController/res/values-v31/strings.xml
new file mode 100644
index 000000000..d61afa385
--- /dev/null
+++ b/PermissionController/res/values-v31/strings.xml
@@ -0,0 +1,21 @@
+<?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>
+