Merge "Add Data warning and limit footer text." into pi-dev
am: a41941ce39
Change-Id: I01e218c63c4b3955defdc54ada55903888cce6b9
This commit is contained in:
@@ -8709,6 +8709,9 @@
|
||||
<!-- Label for button to set the amount of data before user is warned about usage [CHAR LIMIT=30] -->
|
||||
<string name="data_warning">Data warning</string>
|
||||
|
||||
<!-- Label for footnote on Data warning and limit page to warn of device discrepancies -->
|
||||
<string name="data_warning_footnote">Data warning and data limit are measured by your device. This may be different from carrier data.</string>
|
||||
|
||||
<!-- Label for switch about whether to limit how much data can be used [CHAR LIMIT=30] -->
|
||||
<string name="set_data_limit">Set data limit</string>
|
||||
|
||||
|
@@ -91,6 +91,8 @@ public class BillingCycleSettings extends DataUsageBase 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
|
||||
|
Reference in New Issue
Block a user