From 77669bbcb44857df47eed9ae598be1258961857d Mon Sep 17 00:00:00 2001 From: zachh Date: Fri, 18 May 2018 13:40:45 -0700 Subject: 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 --- .../dialer/spam/promo/res/drawable/spam_blocking_promo_icon.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'java/com/android/dialer') 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 @@ - + + -- cgit v1.2.3