Use FooterPreference in xml explicitly

Removed the FooterPreferenceMixin from the BillingCycleSettings page.

Fixes: 139099367
Test: manual test
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.datausage
Change-Id: I408e433b3366a617b6c5a6fdb18f4830de4b8287
This commit is contained in:
Sunny Shao
2019-08-08 11:34:49 +08:00
parent 656e4ef701
commit fb695782c5
3 changed files with 7 additions and 8 deletions

View File

@@ -118,8 +118,6 @@ public class BillingCycleSettings extends DataUsageBaseFragment implements
mEnableDataLimit = (SwitchPreference) findPreference(KEY_SET_DATA_LIMIT);
mEnableDataLimit.setOnPreferenceChangeListener(this);
mDataLimit = findPreference(KEY_DATA_LIMIT);
mFooterPreferenceMixin.createFooterPreference().setTitle(R.string.data_warning_footnote);
}
@Override