Move apps group logic from DataUsageList. Also add key to AppDataUsagePreference, which reduce flaky and keep scroll position when back from app detail page. Bug: 290856342 Test: manual - on DataUsageList Test: unit test Change-Id: I61e2b6bd9b192b7230e3553dbc6038f5d59bd303
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.