When the last custom card for a specific type is removed, onContextualCardUpdated should receive the cardtype info so we can remove it from main data set. - Reverted onContextualCardUpdated method signature back to before - Force ConditionContextualCardController to send an empty list if everything is removed. * Note: the update logic is pretty complicated to handle add/update/remove all together. In the future we should consider spliting the removal logic to simplify this area. Change-Id: Ied688deb693ec33e0017be02cf5c743a754a6e61 Fixes: 115572494 Test: visual
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.