Fix robolectric breakage because of internal resources
The robolectirc breakage is mainly because of ag/1726837 and the current robo tests cannot deal with private resources. Robo engineer will working on this to make sure robo tests is compatible with private resources(b/33431346) and be globally used. This is a temporary fix to stop the breakage by adding the hardcoded color and will be reverted after b/33431346 is finished. Test: make -j40 RunSettingsRoboTests Change-Id: I5f451d94f0162c818b98aaaa49d452d926dd83b1
This commit is contained in:
@@ -111,4 +111,6 @@
|
||||
<!-- Gestures settings -->
|
||||
<color name="gestures_setting_background_color">#f5f5f5</color>
|
||||
|
||||
<!-- TODO: revert it after the SettingsShadowResources is globally finalized -->
|
||||
<color name="status_bar_color">#3c3c3c</color>
|
||||
</resources>
|
||||
|
||||
@@ -155,7 +155,7 @@
|
||||
<item name="*android:successColor">@color/lock_pattern_view_success_color</item>
|
||||
<item name="*android:errorColor">@color/lock_pattern_view_error_color</item>
|
||||
|
||||
<item name="android:statusBarColor">@*android:color/secondary_device_default_settings</item>
|
||||
<item name="android:statusBarColor">@color/status_bar_color</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.SubSettings" parent="Theme.Settings">
|
||||
|
||||
Reference in New Issue
Block a user