cmparts: Anonymous stats
* Import anonymous user-counting from previous releases.
* Original work by:
- Chris Soyars
- Danesh Mondegarian
- Roman Birg
- Steve Kondik
- Ricardo Cerqueira
- Adnan Begovic
Change-Id: Ib068c15b1ad238c9fe8818cf4eb9df46ba80d783
diff --git a/res/xml/preview_data.xml b/res/xml/preview_data.xml
new file mode 100644
index 0000000..025524c
--- /dev/null
+++ b/res/xml/preview_data.xml
@@ -0,0 +1,52 @@
+<?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">
+
+ <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>
+