summaryrefslogtreecommitdiffstats
path: root/src_pd
diff options
context:
space:
mode:
authorBobby Georgescu <georgescu@google.com>2013-06-17 15:24:28 -0700
committerBobby Georgescu <georgescu@google.com>2013-06-17 15:48:31 -0700
commit842985c1561b6e0447c71ebb18298cf5cb62fce2 (patch)
treea63326c32f5b2b08a0450caa6b128bbf23a83e62 /src_pd
parentebd3dbd2cea94c6cf1fd84c24de073f937b2fb3a (diff)
downloadandroid_packages_apps_Gallery2-842985c1561b6e0447c71ebb18298cf5cb62fce2.zip
android_packages_apps_Gallery2-842985c1561b6e0447c71ebb18298cf5cb62fce2.tar.gz
android_packages_apps_Gallery2-842985c1561b6e0447c71ebb18298cf5cb62fce2.tar.bz2
Add more metrics to Editor
Bug: 9467671 Instrument - Editor opened - Number of filters used in save - Undo/redo/reset/state panel - Save completed Change-Id: I4722f36496ccd089829bd616f89d760078922573
Diffstat (limited to 'src_pd')
-rw-r--r--src_pd/com/android/gallery3d/util/UsageStatistics.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src_pd/com/android/gallery3d/util/UsageStatistics.java b/src_pd/com/android/gallery3d/util/UsageStatistics.java
index 868bbb6..48fc6ae 100644
--- a/src_pd/com/android/gallery3d/util/UsageStatistics.java
+++ b/src_pd/com/android/gallery3d/util/UsageStatistics.java
@@ -40,6 +40,11 @@ public class UsageStatistics {
public static final String ACTION_CAPTURE_DONE = "CaptureDone";
public static final String ACTION_SHARE = "Share";
+ public static final String CATEGORY_LIFECYCLE = "AppLifecycle";
+ public static final String CATEGORY_BUTTON_PRESS = "ButtonPress";
+
+ public static final String LIFECYCLE_START = "Start";
+
public static void initialize(Context context) {}
public static void setPendingTransitionCause(String cause) {}
public static void onContentViewChanged(String screenComponent, String screenName) {}