From 8a8f47c6f37dcecd9000c39295563a151d181539 Mon Sep 17 00:00:00 2001 From: jackqdyulei Date: Thu, 5 Jan 2017 09:58:45 -0800 Subject: [PATCH] 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 --- res/values/colors.xml | 2 ++ res/values/themes.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/res/values/colors.xml b/res/values/colors.xml index 3be40383a41..a8d35dcd73d 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -111,4 +111,6 @@ #f5f5f5 + + #3c3c3c diff --git a/res/values/themes.xml b/res/values/themes.xml index 92a1efd3984..ed7c9ccbb7b 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -155,7 +155,7 @@ @color/lock_pattern_view_success_color @color/lock_pattern_view_error_color - @*android:color/secondary_device_default_settings + @color/status_bar_color