Enable some settings pages to use paralleled-loading method

- Here these pages include AppInfoDashboardFragment, ConnectedDeviceDashboardFragment,
  DevelopmentSettingsDashboardFragment, NetworkDashboardFragment, ConfigureNotificationSettings.
- The TimeSpentInAppPreferenceController use the LiveDataController.

Fixes: 135299529
Bug: 137558156
Test: compilation
Change-Id: I455a16536c9966184f1b2bd81d1f1217f3e09f9d
This commit is contained in:
Sunny Shao
2020-03-29 11:54:51 +08:00
parent 37c795af3a
commit 6d60248053
9 changed files with 40 additions and 7 deletions

View File

@@ -119,8 +119,8 @@ public class TimeSpentInAppPreferenceControllerTest {
}
@Test
public void getSummary_shouldQueryAppFeatureProvider() {
mController.getSummary();
public void getSummaryTextInBackground_shouldQueryAppFeatureProvider() {
mController.getSummaryTextInBackground();
verify(mFeatureFactory.applicationFeatureProvider).getTimeSpentInApp(
nullable(String.class));