This introduces a boolean flag in which when set to true, Wallpaper Attribution will be shown in the Legal page. When set to false, it will be hidden. Wallpaper has always been removed from search results, so that has not changed. Bug: 62378616 Test: make RunSettingsRoboTests ROBOTEST_FILTER=LegalSettings passes. Change-Id: Ia6f3e7d1ef471eecf79f1b46616fa4ba27d35748
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.