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

Commit c354537c authored by Daniel Nishi's avatar Daniel Nishi Committed by android-build-merger
Browse files

Merge \"Add a help item for the Help & Feedback for the Storage Manager.\" into nyc-mr1-dev

am: dd1c51a3

Change-Id: I80acbbc35e376f2e353aa955bfd66e4e2a63f71e
parents 87fca0df dd1c51a3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5659,6 +5659,8 @@
    <string name="help_url_fingerprint" translatable="false"></string>
    <!-- Help URL, Gesture settings -->
    <string name="help_url_gestures" translatable="false"></string>
    <!-- Help URL, Manage Storage [DO NOT TRANSLATE]-->
    <string name="help_url_manage_storage" translatable="false"></string>
    <!-- User account title [CHAR LIMIT=30] -->
    <string name="user_account_title">Account for content</string>
+5 −0
Original line number Diff line number Diff line
@@ -150,6 +150,11 @@ public class AutomaticStorageManagerSettings extends SettingsPreferenceFragment
        return true;
    }

    @Override
    protected int getHelpResource() {
        return R.string.help_uri_storage;
    }

    private static int daysValueToIndex(int value, String[] indices) {
        for (int i = 0; i < indices.length; i++) {
            int thisValue = Integer.parseInt(indices[i]);