Add contextual card dismissal implementation
When users clcik on the remove button in dismissal view, the card should be marked as dismissed in the database, and the UI should be refreshed. Bug: 113783548, 119594116 Test: robotests Change-Id: I980600c4c0753ad5abc52ae63bac7196a4b818f1
This commit is contained in:
committed by
Yi-Ling Chuang
parent
4942fd2aff
commit
1e24cb02dc
@@ -114,7 +114,7 @@ public class ControllerRendererPool {
|
||||
if (ConditionContextualCardController.class == clz) {
|
||||
return new ConditionContextualCardController(context);
|
||||
} else if (SliceContextualCardController.class == clz) {
|
||||
return new SliceContextualCardController();
|
||||
return new SliceContextualCardController(context);
|
||||
} else if (LegacySuggestionContextualCardController.class == clz) {
|
||||
return new LegacySuggestionContextualCardController(context);
|
||||
}
|
||||
|
Reference in New Issue
Block a user