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:
@@ -60,7 +60,7 @@ public class ScreenLockSettings extends DashboardFragment
|
||||
}
|
||||
|
||||
@Override
|
||||
protected List<AbstractPreferenceController> getPreferenceControllers(Context context) {
|
||||
protected List<AbstractPreferenceController> createPreferenceControllers(Context context) {
|
||||
mLockPatternUtils = new LockPatternUtils(context);
|
||||
return buildPreferenceControllers(context, this /* parent */, getLifecycle(),
|
||||
mLockPatternUtils);
|
||||
@@ -68,7 +68,7 @@ public class ScreenLockSettings extends DashboardFragment
|
||||
|
||||
@Override
|
||||
public void onOwnerInfoUpdated() {
|
||||
getPreferenceController(OwnerInfoPreferenceController.class).updateSummary();
|
||||
use(OwnerInfoPreferenceController.class).updateSummary();
|
||||
}
|
||||
|
||||
private static List<AbstractPreferenceController> buildPreferenceControllers(Context context,
|
||||
|
Reference in New Issue
Block a user