Implement stop/resume media restore and update restore over cellular.

This commit is contained in:
Cody Henthorne
2025-05-05 19:51:36 -04:00
committed by Michelle Tang
parent 9867fa3f50
commit 93403a0d2c
15 changed files with 183 additions and 46 deletions

View File

@@ -7923,11 +7923,13 @@
<!-- Status title for banner when user is actively restoring media from a backup -->
<string name="BackupStatus__restoring_media">Restoring media</string>
<!-- Status title for banner when user has paused restore media from a backup -->
<string name="BackupStatus__restore_paused">Restore paused</string>
<string name="BackupStatus__restore_paused">Media restore paused</string>
<!-- Status title for banner when user has completed restoring restore media from a backup -->
<string name="BackupStatus__restore_complete">Restore complete</string>
<!-- Status action label for seeing more details about storage space -->
<string name="BackupStatus__details">Details</string>
<!-- Status action label for resume restore from a paused state -->
<string name="BackupStatus__resume">Resume</string>
<!-- Status subtitle for banner when restoring media pauses for Wi-Fi -->
<string name="BackupStatus__status_waiting_for_wifi">Waiting for Wi-Fi…</string>
@@ -7960,6 +7962,11 @@
<!-- Text displayed in a row to learn more about why a backup failed -->
<string name="BackupStatusRow__learn_more">Learn more</string>
<!-- Dialog title to prompt resuming media restore over cellular -->
<string name="ResumeRestoreCellular_resume_using_cellular_title">Resume using cellular data?</string>
<!-- Dialog message to prompt resuming media restore over cellular -->
<string name="ResumeRestoreCellular_resume_using_cellular_message">Restoring your media using cellular data may result in data charges. You can connect to a Wi-Fi network to automatically resume.</string>
<!-- BackupsTypeSettingsFragment -->
<!-- Displayed as the user\'s payment method as a label in a preference row -->
<string name="BackupsTypeSettingsFragment__google_play">Google Play</string>
@@ -8059,8 +8066,8 @@
<string name="RemoteBackupsSettingsFragment__payment_history">Payment history</string>
<!-- Section header for backup information -->
<string name="RemoteBackupsSettingsFragment__backup_details">Backup details</string>
<!-- Toggle row label to allow the restoration of a backup to occur while on cellular connection -->
<string name="RemoteBackupsSettingsFragment__restore_using_cellular">Restore using cellular</string>
<!-- Row label to allow the restoration of a backup to occur while on cellular connection -->
<string name="RemoteBackupsSettingsFragment__resume_download">Resume download</string>
<!-- Row label for backup size -->
<string name="RemoteBackupsSettingsFragment__backup_size">Backup size</string>
<!-- Row label for backup frequency -->
@@ -8180,6 +8187,8 @@
<item quantity="one">You have %1$s of backup data thats not on this device. Your backup will be deleted when your subscription ends in %2$d day.</item>
<item quantity="other">You have %1$s of backup data thats not on this device. Your backup will be deleted when your subscription ends in %2$d days.</item>
</plurals>
<!-- Display in a row when backup is available for download but the user has canceled the restore. Place holder is data size e.g. 12MB -->
<string name="RemoteBackupsSettingsFragment__you_have_s_of_backup_data_not_on_device">You have %1$s of backup data thats not on this device. </string>
<!-- Displayed in row when backup is available for download to let user start download -->
<string name="RemoteBackupsSettingsFragment__download">Download</string>
<!-- Dialog title for skipping download of backed up media -->
@@ -8189,6 +8198,10 @@
<item quantity="one">If you skip downloading the remaining media and attachments in your backup will be deleted in %1$d day.</item>
<item quantity="other">If you skip downloading the remaining media and attachments in your backup will be deleted in %1$d days.</item>
</plurals>
<!-- Dialog title for skipping download of in progress initial restore of backed up media -->
<string name="RemoteBackupsSettingsFragment__skip_restore_question">Skip restore?</string>
<!-- Dialog message for skipping download of in progress initial restore of backed up media -->
<string name="RemoteBackupsSettingsFragment__skip_restore_message">If you skip restore the remaining media and attachments in your backup can be downloaded at a later time.</string>
<!-- Positive dialog action to skip download -->
<string name="RemoteBackupsSettingsFragment__skip">Skip</string>
<!-- Dialog title for network error while trying to disable backups -->