More renaming in DashboardFragment

getPreferenceControllers() -> createPreferenceControllers() for the same
reason as in ag/3647936

Bug: 73668763
Test: robotests
Change-Id: I97670a91a2a38d1c844d1b9d37f4222c5e6f45a0
This commit is contained in:
Fan Zhang
2018-02-22 13:51:41 -08:00
parent aed8994f6f
commit f7843adabd
87 changed files with 110 additions and 117 deletions

View File

@@ -90,7 +90,7 @@ public class NetworkDashboardFragment extends DashboardFragment implements
}
@Override
protected List<AbstractPreferenceController> getPreferenceControllers(Context context) {
protected List<AbstractPreferenceController> createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, getLifecycle(), mMetricsFeatureProvider, this
/* fragment */,
this /* mobilePlanHost */);
@@ -140,7 +140,7 @@ public class NetworkDashboardFragment extends DashboardFragment implements
switch (dialogId) {
case MANAGE_MOBILE_PLAN_DIALOG_ID:
final MobilePlanPreferenceController controller =
getPreferenceController(MobilePlanPreferenceController.class);
use(MobilePlanPreferenceController.class);
return new AlertDialog.Builder(getActivity())
.setMessage(controller.getMobilePlanDialogMessage())
.setCancelable(false)