aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAng Li <ihcinihsdk@google.com>2024-04-02 00:28:56 +0000
committerAng Li <ihcinihsdk@google.com>2024-04-02 00:28:56 +0000
commit578b54e0a000ea568ddc4505bc50a8128abb5614 (patch)
treee41b03dbeaab66d9e00fd3ba4e6ce0455f9482bc
parent9890fea83f451e1c82a757597dd5941cc4e3463b (diff)
downloadrobolectric-578b54e0a000ea568ddc4505bc50a8128abb5614.tar.gz
Change the ID of `config_headlineFontFamily`.
When a new ID is added in framework's config file (as ag/26708584 did), the IDs of the configs are subject to change. This CL changes the hard-coded ID to mitigate the failures of RNG tests. The next step is that we do need a more stable way to configure those values. Bug: 332407470 Bug: 332400195 Test: atest -c SystemUIGoogleRobo(2)RNGTests Change-Id: I656225f42108962a1eb52b26d86ed67730018379
-rw-r--r--nativeruntime/src/main/resources/arsc/font_resources/values/public.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/nativeruntime/src/main/resources/arsc/font_resources/values/public.xml b/nativeruntime/src/main/resources/arsc/font_resources/values/public.xml
index 8531cd675..42a8ab9a2 100644
--- a/nativeruntime/src/main/resources/arsc/font_resources/values/public.xml
+++ b/nativeruntime/src/main/resources/arsc/font_resources/values/public.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
+ <!--TODO(b/332407470): We need a more stable method for the configuration.-->
<public type="string" name="config_bodyFontFamily" id="0x010401f1" />
- <public type="string" name="config_headlineFontFamily" id="0x01040262" />
+ <public type="string" name="config_headlineFontFamily" id="0x01040264" />
</resources>