aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/xml/prefs_screen_accounts.xml
diff options
context:
space:
mode:
authorJatin Matani <jatinm@google.com>2014-10-28 13:44:00 -0700
committerJatin Matani <jatinm@google.com>2014-12-09 12:45:34 -0800
commit6814e7aa870efcd0dea2b67df8d2cbfbdc0c438c (patch)
tree8136a03dbc1c908c444b972bec98a837944425d3 /java/res/xml/prefs_screen_accounts.xml
parent2bdd5290a979f6412a91a7f0a4a97b07e5955dd2 (diff)
downloadlatinime-6814e7aa870efcd0dea2b67df8d2cbfbdc0c438c.tar.gz
latinime-6814e7aa870efcd0dea2b67df8d2cbfbdc0c438c.tar.xz
latinime-6814e7aa870efcd0dea2b67df8d2cbfbdc0c438c.zip
Provide a preference to delete data from cloud.
For now, it is a debug preference, but we may make this a proper user setting in the future. Thus note that the messaging is not final. Pref looks like : 1. https://screenshot.googleplex.com/OLxW0myWD9.png 2. https://screenshot.googleplex.com/YeqWYXGstw.png Bug: 18106936 Change-Id: I88bbc1a2ee0c23a48ff3972a91d57c218b10bb65
Diffstat (limited to 'java/res/xml/prefs_screen_accounts.xml')
-rw-r--r--java/res/xml/prefs_screen_accounts.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/java/res/xml/prefs_screen_accounts.xml b/java/res/xml/prefs_screen_accounts.xml
index 41642bf08..462488547 100644
--- a/java/res/xml/prefs_screen_accounts.xml
+++ b/java/res/xml/prefs_screen_accounts.xml
@@ -48,4 +48,11 @@
android:persistent="false"
android:title="@string/sync_now_title"
android:dependency="pref_enable_cloud_sync" />
+
+ <!-- This preference (acts like a button) enables the user to clear data from the cloud. -->
+ <Preference android:key="pref_beanstalk_clear_data"
+ android:persistent="false"
+ android:title="@string/clear_sync_data_title"
+ android:summary="@string/clear_sync_data_summary"
+ android:dependency="pref_enable_cloud_sync" />
</PreferenceScreen>