Use FooterPreference in xml explicitly
Removed the FooterPreferenceMixin from the AdaptiveSleepSettings page. Fixes: 138965988 Test: manual test Change-Id: If6fba673af304d8522f3b01ac6607cd8a7ead747
This commit is contained in:
@@ -44,13 +44,7 @@ public class AdaptiveSleepSettings extends DashboardFragment {
|
||||
@Override
|
||||
public void onCreate(Bundle icicle) {
|
||||
super.onCreate(icicle);
|
||||
final FooterPreference footerPreference =
|
||||
mFooterPreferenceMixin.createFooterPreference();
|
||||
mContext = getContext();
|
||||
|
||||
footerPreference.setIcon(R.drawable.ic_privacy_shield_24dp);
|
||||
footerPreference.setTitle(R.string.adaptive_sleep_privacy);
|
||||
|
||||
Preference permissionPreference = findPreference(
|
||||
AdaptiveSleepPermissionPreferenceController.PREF_NAME);
|
||||
if (permissionPreference != null) {
|
||||
|
Reference in New Issue
Block a user