summaryrefslogtreecommitdiffstats
path: root/res/xml/privacy_settings.xml
diff options
context:
space:
mode:
authorZoltan Szatmary-Ban <szatmz@google.com>2014-11-12 23:46:52 +0000
committerZoltan Szatmary-Ban <szatmz@google.com>2014-11-20 20:20:49 +0000
commit876a21bae81e8468d2d6415313c9805d56ae3dfe (patch)
tree8983eebecdb3307727a77a318fe998f9f60f3af4 /res/xml/privacy_settings.xml
parent101743f9ecccae0054ba5867ae0585750a0a8bd2 (diff)
downloadpackages_apps_Settings-876a21bae81e8468d2d6415313c9805d56ae3dfe.zip
packages_apps_Settings-876a21bae81e8468d2d6415313c9805d56ae3dfe.tar.gz
packages_apps_Settings-876a21bae81e8468d2d6415313c9805d56ae3dfe.tar.bz2
Remove backup preferences if backup service is inactive
Also show informative message instead. Bug: 16641441 Change-Id: I9920c07d56c4c0ccb1f3dce637c0fb390902d2ff
Diffstat (limited to 'res/xml/privacy_settings.xml')
-rw-r--r--res/xml/privacy_settings.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/res/xml/privacy_settings.xml b/res/xml/privacy_settings.xml
index 44894e7..4760300 100644
--- a/res/xml/privacy_settings.xml
+++ b/res/xml/privacy_settings.xml
@@ -43,6 +43,14 @@
android:summary="@string/auto_restore_summary"
android:persistent="false" />
+ <Preference
+ android:key="backup_inactive"
+ android:title="@string/backup_inactive_title"
+ android:summary="@string/backup_inactive_summary"
+ android:persistent="false"
+ android:enabled="false"
+ android:selectable="false" />
+
</PreferenceCategory>
<PreferenceCategory android:key="personal_data_category"