summaryrefslogtreecommitdiffstats
path: root/res/xml/anonymous_stats.xml
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2015-04-23 15:40:01 -0700
committerAdnan Begovic <adnan@cyngn.com>2015-11-23 14:26:11 -0800
commite88786dc2c723a9e11799c19a7ed516d188b7ab8 (patch)
tree2c1634237ffeada066962a983097b769d96e7eda /res/xml/anonymous_stats.xml
parent261830431922efba4d33e19013380a5ca1266835 (diff)
downloadpackages_apps_Settings-e88786dc2c723a9e11799c19a7ed516d188b7ab8.tar.gz
packages_apps_Settings-e88786dc2c723a9e11799c19a7ed516d188b7ab8.tar.bz2
packages_apps_Settings-e88786dc2c723a9e11799c19a7ed516d188b7ab8.zip
Settings: Update Anonymous Stats Implementation.
Change-Id: I0347b4401563acff1a9f488cde5d53bb76b02c10
Diffstat (limited to 'res/xml/anonymous_stats.xml')
-rw-r--r--res/xml/anonymous_stats.xml13
1 files changed, 5 insertions, 8 deletions
diff --git a/res/xml/anonymous_stats.xml b/res/xml/anonymous_stats.xml
index 6c4621e13..7cc5875ec 100644
--- a/res/xml/anonymous_stats.xml
+++ b/res/xml/anonymous_stats.xml
@@ -19,17 +19,14 @@
android:title="@string/anonymous_statistics_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
- <CheckBoxPreference
- android:key="pref_anonymous_opt_in"
- android:defaultValue="true"
- android:title="@string/enable_reporting_title" />
+ <com.android.settings.cyanogenmod.SecureSettingSwitchPreference
+ android:key="stats_collection"
+ android:title="@string/stats_collection_title"
+ android:summary="@string/stats_collection_summary"
+ android:defaultValue="true" />
<PreferenceScreen
android:title="@string/preview_data_title"
android:fragment="com.android.settings.cmstats.PreviewData" />
- <Preference
- android:key="pref_view_stats"
- android:title="@string/view_stats_title" />
-
</PreferenceScreen>