diff options
author | Steve Kondik <shade@chemlab.org> | 2013-04-03 08:12:24 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2013-04-03 08:14:24 -0700 |
commit | e25e5b9e5f7c50c93a97a7b9714ac66f46237a5a (patch) | |
tree | 4d03077840176f7e7a617fa3855286c2e4cda94e /res/xml | |
parent | 1d73371aae563e08270cf178b5dc80b7262e00da (diff) | |
download | packages_apps_settings-e25e5b9e5f7c50c93a97a7b9714ac66f46237a5a.zip packages_apps_settings-e25e5b9e5f7c50c93a97a7b9714ac66f46237a5a.tar.gz packages_apps_settings-e25e5b9e5f7c50c93a97a7b9714ac66f46237a5a.tar.bz2 |
Restore the opt-out for stats.
* Apparently this is a bigger issue for a small number of extremely
vocal users. We should respect their wishes, no matter how off-base
their claims are in this context.
Change-Id: I9eef9a65260ec4e360d398f80d610a198c09c915
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/anonymous_stats.xml | 35 | ||||
-rw-r--r-- | res/xml/device_info_settings.xml | 8 | ||||
-rw-r--r-- | res/xml/preview_data.xml | 53 |
3 files changed, 96 insertions, 0 deletions
diff --git a/res/xml/anonymous_stats.xml b/res/xml/anonymous_stats.xml new file mode 100644 index 0000000..6c4621e --- /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> diff --git a/res/xml/device_info_settings.xml b/res/xml/device_info_settings.xml index f22e6a5..955c153 100644 --- a/res/xml/device_info_settings.xml +++ b/res/xml/device_info_settings.xml @@ -49,6 +49,14 @@ android:targetClass="com.cyanogenmod.updater.UpdatesSettings" /> </PreferenceScreen> + <!-- Anonymous statistics - (CMStats) --> + <PreferenceScreen + android:key="cmstats" + android:title="@string/anonymous_statistics_title" + android:summary="@string/anonymous_statistics_summary" + android:fragment="com.android.settings.cmstats.AnonymousStats" > + </PreferenceScreen> + <!-- Change Log --> <PreferenceScreen android:key="changelog" android:title="@string/changelog_title" diff --git a/res/xml/preview_data.xml b/res/xml/preview_data.xml new file mode 100644 index 0000000..966e501 --- /dev/null +++ b/res/xml/preview_data.xml @@ -0,0 +1,53 @@ +<?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/preview_data_title" + xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"> + + <Preference + android:key="preview_id" + style="?android:preferenceInformationStyle" + android:title="@string/preview_id_title" + android:summary="%s" /> + + <Preference + android:key="preview_device" + style="?android:preferenceInformationStyle" + android:title="@string/preview_device_title" + android:summary="%s" /> + + <Preference + android:key="preview_version" + style="?android:preferenceInformationStyle" + android:title="@string/preview_version_title" + android:summary="%s" /> + + <Preference + android:key="preview_country" + style="?android:preferenceInformationStyle" + android:title="@string/preview_country_title" + android:summary="%s" /> + + <Preference + android:key="preview_carrier" + style="?android:preferenceInformationStyle" + android:title="@string/preview_carrier_title" + android:summary="%s" /> + +</PreferenceScreen> + |