summaryrefslogtreecommitdiffstats
path: root/res/xml/anonymous_stats.xml
diff options
context:
space:
mode:
authorDanesh Mondegarian <daneshm90@gmail.com>2012-02-03 21:02:21 -0500
committerAdnan Begovic <adnan@cyngn.com>2015-11-23 14:26:11 -0800
commit261830431922efba4d33e19013380a5ca1266835 (patch)
tree67564a410121135592ab42bf4556b241945f7aa5 /res/xml/anonymous_stats.xml
parentc9aebf6e83e6d4d996a1a3cea899c4a28792dfb7 (diff)
downloadpackages_apps_Settings-261830431922efba4d33e19013380a5ca1266835.tar.gz
packages_apps_Settings-261830431922efba4d33e19013380a5ca1266835.tar.bz2
packages_apps_Settings-261830431922efba4d33e19013380a5ca1266835.zip
Settings: Anonymous Statistics (CMStats)
CMStats is now integrated into settings. Change-Id: Ice1b2c0c4882620eef774aca26b91a39d27f7b47
Diffstat (limited to 'res/xml/anonymous_stats.xml')
-rw-r--r--res/xml/anonymous_stats.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/res/xml/anonymous_stats.xml b/res/xml/anonymous_stats.xml
new file mode 100644
index 000000000..6c4621e13
--- /dev/null
+++ b/res/xml/anonymous_stats.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ 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" />
+
+ <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>