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:
@@ -361,6 +361,11 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
|
||||
return mPreferenceControllers;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isParalleledControllers() {
|
||||
return true;
|
||||
}
|
||||
|
||||
private void registerReceivers() {
|
||||
LocalBroadcastManager.getInstance(getContext())
|
||||
.registerReceiver(mEnableAdbReceiver, new IntentFilter(
|
||||
|
Reference in New Issue
Block a user