In order to prevent DoS attack from icon size, we're using a system lib to help convert any loaded drawable into a flattened bitmap with an appropriate size. Test: Open recent app screen and then no crash Bug: 33646131 Change-Id: Ib7eae56e19cd86667bd63b6061000c6a92deaf3b
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.