Use FooterPreference in xml explicitly

Removed the FooterPreferenceMixin from the DataSaverSummary page.

Fixes: 139393749
Test: manual test
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.datausage
Change-Id: Ie229acd903eb24e369beef8bbf5ff0bdd9ce50d1
This commit is contained in:
Sunny Shao
2019-08-14 12:56:50 +08:00
parent 032ca466f1
commit a47e7ddcc3
2 changed files with 6 additions and 2 deletions

View File

@@ -63,8 +63,6 @@ public class DataSaverSummary extends SettingsPreferenceFragment
super.onCreate(icicle);
addPreferencesFromResource(R.xml.data_saver);
mFooterPreferenceMixin.createFooterPreference()
.setTitle(com.android.internal.R.string.data_saver_description);
mUnrestrictedAccess = findPreference(KEY_UNRESTRICTED_ACCESS);
mApplicationsState = ApplicationsState.getInstance(
(Application) getContext().getApplicationContext());