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:
@@ -107,7 +107,7 @@ public class SoundSettings extends DashboardFragment {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected List<AbstractPreferenceController> getPreferenceControllers(Context context) {
|
||||
protected List<AbstractPreferenceController> createPreferenceControllers(Context context) {
|
||||
return buildPreferenceControllers(context, this, mVolumeCallback, getLifecycle());
|
||||
}
|
||||
|
||||
@@ -274,7 +274,7 @@ public class SoundSettings extends DashboardFragment {
|
||||
|
||||
void enableWorkSync() {
|
||||
final WorkSoundPreferenceController workSoundController =
|
||||
getPreferenceController(WorkSoundPreferenceController.class);
|
||||
use(WorkSoundPreferenceController.class);
|
||||
if (workSoundController != null) {
|
||||
workSoundController.enableWorkSync();
|
||||
}
|
||||
|
Reference in New Issue
Block a user