diff options
author | Christopher Tate <ctate@google.com> | 2010-12-08 18:46:38 -0800 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2010-12-09 12:58:34 -0800 |
commit | df6a7e55ccffd4a8b17780ee07b9f11988b98aaa (patch) | |
tree | 5314e513c98877493a2d032bc99347cf161fd7a9 /res/xml | |
parent | 1c7e49ba670ad70822d34234e3677fef53e94569 (diff) | |
download | packages_apps_settings-df6a7e55ccffd4a8b17780ee07b9f11988b98aaa.zip packages_apps_settings-df6a7e55ccffd4a8b17780ee07b9f11988b98aaa.tar.gz packages_apps_settings-df6a7e55ccffd4a8b17780ee07b9f11988b98aaa.tar.bz2 |
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
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/privacy_settings.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/res/xml/privacy_settings.xml b/res/xml/privacy_settings.xml index 86fc306..c28dbc1 100644 --- a/res/xml/privacy_settings.xml +++ b/res/xml/privacy_settings.xml @@ -25,6 +25,14 @@ android:title="@string/backup_data_title" android:summary="@string/backup_data_summary" android:persistent="false" /> + <PreferenceScreen + android:key="configure_transport" + android:dependency="backup_data" + android:layout="?android:attr/preferenceLayoutChild" + android:title="@string/backup_configure_transport_title" + android:summary="@string/backup_configure_transport_default_summary"> + <intent android:action="dummy" /> + </PreferenceScreen> <CheckBoxPreference android:key="auto_restore" android:title="@string/auto_restore_title" |