Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a41941ce authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add Data warning and limit footer text." into pi-dev

parents b687dac1 5fc38eca
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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>
+2 −0
Original line number Diff line number Diff line
@@ -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