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/AndroidManifest.xml b/AndroidManifest.xml
index 078135e..cdaee89 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -141,5 +141,30 @@
android:resource="@drawable/ic_settings_statusbar" />
</activity-alias>
+ <!-- Anonymous Statistics -->
+ <receiver android:name=".cmstats.ReportingServiceManager"
+ android:enabled="true"
+ android:exported="false"
+ android:label="ReportingServiceManager">
+ <intent-filter>
+ <action android:name="android.intent.action.BOOT_COMPLETED" />
+ <action android:name="org.cyanogenmod.cmparts.action.TRIGGER_REPORT_METRICS" />
+ </intent-filter>
+ </receiver>
+
+ <service android:label="ReportingService"
+ android:enabled="true"
+ android:exported="false"
+ android:name=".cmstats.ReportingService">
+ </service>
+
+ <service android:name=".cmstats.StatsUploadJobService"
+ android:permission="android.permission.BIND_JOB_SERVICE" />
+
+ <service android:name=".cmstats.ReportingService"
+ android:label="ReportingService"
+ android:enabled="true"
+ android:exported="false" />
+
</application>
</manifest>