make sim_colors a system config

make sim_colors a system config

Bug: 143289541
Test: verified that symbol is accessible as android.R and values are
still valid through logs.

Merged-In: Ie0189ef3befff9f1e2da127a1f4cef69f8f7043e
Change-Id: Ie0189ef3befff9f1e2da127a1f4cef69f8f7043e
This commit is contained in:
Sooraj Sasindran
2020-01-21 18:41:14 -08:00
parent cc2f579438
commit 889aec247c
4 changed files with 7 additions and 2 deletions

View File

@@ -226,6 +226,7 @@ package android {
public static final class R.array {
field public static final int config_keySystemUuidMapping = 17235973; // 0x1070005
field public static final int simColors = 17235974; // 0x1070006
}
public static final class R.attr {

View File

@@ -165,7 +165,7 @@
<item>中文 (繁體)</item>
</string-array>
<array name="sim_colors">
<array name="simColors">
<item>@color/Teal_700</item>
<item>@color/Blue_700</item>
<item>@color/Indigo_700</item>

View File

@@ -3021,6 +3021,10 @@
<public-group type="color" first-id="0x0106001d">
</public-group>
<public-group type="array" first-id="0x01070006">
<!-- @hide @SystemApi -->
<public name="simColors" />
</public-group>
<!-- ===============================================================
DO NOT ADD UN-GROUPED ITEMS HERE

View File

@@ -1303,7 +1303,7 @@
<java-symbol type="array" name="preloaded_color_state_lists" />
<java-symbol type="array" name="preloaded_drawables" />
<java-symbol type="array" name="preloaded_freeform_multi_window_drawables" />
<java-symbol type="array" name="sim_colors" />
<java-symbol type="array" name="simColors" />
<java-symbol type="array" name="special_locale_codes" />
<java-symbol type="array" name="special_locale_names" />
<java-symbol type="array" name="supported_locales" />