Starting Android S, all PendingIntent should have the mutability flag assigned to prevent from vulnerability. Fixes: 172811605 Fixes: 172206649 Test: 1. Play on the slices in Settings search. 2. Make a permission request intent of Settings wifi slice in the slice-viewer app, clicking on it and make sure it gets redirect to Settings without crashes. Change-Id: I86f915bc062a6e632b5ca9c74e232db1036f08de
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.