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:
jackqdyulei
2017-01-05 09:58:45 -08:00
parent 0f23bfcd7e
commit 8a8f47c6f3
2 changed files with 3 additions and 1 deletions

View File

@@ -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>

View File

@@ -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">