Merge "Fix a bug where custom cards are not refresh when removed"

This commit is contained in:
TreeHugger Robot
2018-09-14 21:57:24 +00:00
committed by Android (Google) Code Review
6 changed files with 33 additions and 33 deletions

View File

@@ -82,7 +82,7 @@ public class ConditionContextualCardControllerTest {
mController.onConditionsChanged();
verify(mController).onDataUpdated(any());
verify(mListener).onContextualCardUpdated(any());
}
@Test
@@ -94,7 +94,7 @@ public class ConditionContextualCardControllerTest {
mController.onConditionsChanged();
verify(mController, never()).onDataUpdated(any());
verify(mListener, never()).onContextualCardUpdated(any());
}
private class FakeConditionalCard implements ConditionalCard {