This CL adds confirmation dialog in "Restrict app page". By go through BatteryTipDialogFragment, it will find the correct action, in which we already have log: 1. RestrictAppAction 2. UnRestrictAppAction Bug: 79992590 Test: RunSettingsRoboTests Change-Id: I179fbd17a012528fdfacf42e4a93943eaefff23d
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.