Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf3c8958 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Robotest fix."

parents ba06ace0 0be46def
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ public class AdaptiveHomepageIconTest {
    @Test
    public void setBackgroundColor_tileWithoutBackgroundColor_shouldSetDefaultBackgroundColor() {
        final Tile tile = spy(new Tile(mActivityInfo, CategoryKey.CATEGORY_HOMEPAGE));
        doReturn(Icon.createWithResource(mContext, R.drawable.ic_settings))
        doReturn(Icon.createWithResource(mContext, R.drawable.ic_settings_accent))
            .when(tile).getIcon(mContext);
        final AdaptiveHomepageIcon icon =
            new AdaptiveHomepageIcon(mContext, new ColorDrawable(Color.BLACK));