Add backup configuration action to Privacy settings

Settings now queries the backup manager for a configuration Intent and
text descriptive of the state of the currently-active transport.  These
are used by a new Intent PreferenceScreen within the backup section of
the Privacy settings UI.

When touched, the Configure item launches the Intent supplied by the
transport; when no such Intent is available, the item is disabled.  The
summary text describing the current backup state is also supplied by
the transport.

Bug: 2753632
Change-Id: I3d8fb3d4b08a2b6fa8d3ad8f9e02a66430948423
This commit is contained in:
Christopher Tate
2010-12-08 18:46:38 -08:00
parent 1c7e49ba67
commit df6a7e55cc
3 changed files with 42 additions and 6 deletions

View File

@@ -2906,6 +2906,10 @@ found in the list of installed applications.</string>
<string name="backup_data_title">Back up my data</string>
<!-- Summary text of the "back up data" setting -->
<string name="backup_data_summary">Back up application data, Wi-Fi passwords, and other settings to Google servers</string>
<!-- Configure backup options menu title [CHAR LIMIT=25]-->
<string name="backup_configure_transport_title">Configure backup</string>
<!-- Default summary text of the "Configure backup" setting [CHAR LIMIT=80]-->
<string name="backup_configure_transport_default_summary">No backup destination is available.</string>
<!-- Auto-restore menu title -->
<string name="auto_restore_title">Automatic restore</string>
<!-- Summary text of the "automatic restore" setting -->