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

Commit 65ed515a authored by Jackeagle's avatar Jackeagle
Browse files

Updater: Add Adoptable Storage Warning to Android Upgrade Dialogs



Integrated a warning message for users using Adoptable Storage in the Android upgrade dialog strings to caution them about the potential data loss and SD Card corruption during the upgrade process.

Signed-off-by: default avatarJackeagle <jackeagle102@gmail.com>
parent c976064b
Loading
Loading
Loading
Loading
+13 −2
Original line number Diff line number Diff line
@@ -120,8 +120,19 @@
    <string name="apply_update_dialog_message_ab">You are about to update to <xliff:g id="update_name">%1$s</xliff:g>.\n\nIf you press <xliff:g id="ok">%2$s</xliff:g>, the device will begin installing in the background.\n\nOnce completed, you will be prompted to reboot.</string>

    <string name="version_upgrade_dialog_title">Version Upgrade!</string>
    <string name="version_upgrade_dialog_message">You are about to upgrade to <xliff:g id="update_name">%1$s</xliff:g>, based on Android <xliff:g id="version_android">%2$s</xliff:g>\n\nRemember: it is always recommended to backup your data before upgrades.\n\nIf you press <xliff:g id="ok">%3$s</xliff:g>, the device will restart itself into recovery mode to install the update.</string>
    <string name="version_upgrade_dialog_message_ab">You are about to upgrade to <xliff:g id="update_name">%1$s</xliff:g>, based on Android <xliff:g id="version_android">%2$s</xliff:g>.\n\nRemember: it is always recommended to backup your data before upgrades.\n\nIf you press <xliff:g id="ok">%3$s</xliff:g>, the device will begin installing in the background.\n\nOnce completed, you will be prompted to reboot.</string>
    <string name="version_upgrade_dialog_message">
        You are about to upgrade to <xliff:g id="update_name">%1$s</xliff:g>, based on Android <xliff:g id="version_android">%2$s</xliff:g>\n\n
        <xliff:g id="warning_message">⚠️ Warning ⚠️: If you have been using Adoptable Storage, upgrading will lead to data loss and SD Card corruption, including internal storage.\n\n</xliff:g>
        Remember: it is always recommended to backup your data before upgrades.\n\n
        If you press <xliff:g id="ok">%3$s</xliff:g>, the device will restart itself into recovery mode to install the update.
    </string>
    <string name="version_upgrade_dialog_message_ab">
        You are about to upgrade to <xliff:g id="update_name">%1$s</xliff:g>, based on Android <xliff:g id="version_android">%2$s</xliff:g>.\n\n
        <xliff:g id="warning_message">⚠️ Warning ⚠️: If you have been using Adoptable Storage, upgrading may lead to data loss and SD Card corruption, including internal storage.\n\n</xliff:g>
        Remember: it is always recommended to backup your data before upgrades.\n\n
        If you press <xliff:g id="ok">%3$s</xliff:g>, the device will begin installing in the background.\n\n
        Once completed, you will be prompted to reboot.
    </string>

    <string name="cancel_installation_dialog_message">Cancel the installation?</string>