summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/spam
diff options
context:
space:
mode:
authorzachh <zachh@google.com>2018-05-18 13:40:45 -0700
committerCopybara-Service <copybara-piper@google.com>2018-05-18 15:20:36 -0700
commit77669bbcb44857df47eed9ae598be1258961857d (patch)
tree52b8d4b8c6510910ae8ec3204d2aab6fab7358a0 /java/com/android/dialer/spam
parentb327b63680f609125b80a3804445a8cf16e70fcb (diff)
Cleaned up deps in SpamBlockingPromoHelperTest.
Deprecated RobolectricApplication. RobolectricApplication uses RobolectricDialerRootComponent, which depends on all parts of the dialer application (CallLog, PhoneLookup, CommandLine, etc). None of these things matter for leafy unit tests like SpamBlockingPromoHelperTest and they just serve to slow down builds; both for tests that use RobolectricApplication and presubmits for all parts of the application. (Unrelated changes to the call log for example, would trigger this test on presubmit because this test depends on call log when it shouldn't.) TEST=yes Test: yes PiperOrigin-RevId: 197193370 Change-Id: I425351eef2954d105ac7fc7c4120767d275a4fc8
Diffstat (limited to 'java/com/android/dialer/spam')
-rw-r--r--java/com/android/dialer/spam/promo/res/drawable/spam_blocking_promo_icon.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/com/android/dialer/spam/promo/res/drawable/spam_blocking_promo_icon.xml b/java/com/android/dialer/spam/promo/res/drawable/spam_blocking_promo_icon.xml
index 9b35bcbc4..0434004df 100644
--- a/java/com/android/dialer/spam/promo/res/drawable/spam_blocking_promo_icon.xml
+++ b/java/com/android/dialer/spam/promo/res/drawable/spam_blocking_promo_icon.xml
@@ -20,7 +20,8 @@
<item>
<shape android:shape="oval">
- <solid android:color="@color/incall_call_spam_background_color"/>
+ <!-- Note: Ensure matches incallui and blocking colors. -->
+ <solid android:color="#A52714"/>
<size
android:height="@android:dimen/notification_large_icon_height"
android:width="@android:dimen/notification_large_icon_width"/>