summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2013-09-04 18:20:31 (GMT)
committerAlex Klyubin <klyubin@google.com>2013-09-10 00:48:25 (GMT)
commit7b30bc34492a0c53b02cec2fee7d0993da407fc4 (patch)
tree13c59ea09096398079a7a631c5e2d6d1bf7dfccb /Android.mk
parent4196137c30528703b2dcbcf7e61e89693ef65616 (diff)
downloadandroid_packages_apps_PackageInstaller-7b30bc34492a0c53b02cec2fee7d0993da407fc4.zip
android_packages_apps_PackageInstaller-7b30bc34492a0c53b02cec2fee7d0993da407fc4.tar.gz
android_packages_apps_PackageInstaller-7b30bc34492a0c53b02cec2fee7d0993da407fc4.tar.bz2
Record analytics about package install attempts to Event Log.
The purpose of this change is to provide analytics about the various stages of the install flow. Recorded information does not contain user-, device-, or package/app-identifying information. Examples of recorded information are: * duration of the flow (start to finish) * duration of the flow until the moment the user clicks Install * whether the attempt is an update or a new install. * whether app verification is enabled. * whether Unknown Sources is enabled. * whether the attempt was blocked by Unknown Sources. * whether permissions were displayed. * error code (if any) returned by PackageManager when installing the package. Bug: 10605940 Change-Id: I9bc009223a365a558cdf02bd91cf4315b82564c2
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 0612cfe..092bf9c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -3,7 +3,9 @@ include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
-LOCAL_SRC_FILES := $(call all-subdir-java-files)
+LOCAL_SRC_FILES := \
+ $(call all-subdir-java-files) \
+ src/com/android/packageinstaller/EventLogTags.logtags
LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4