summaryrefslogtreecommitdiffstats
path: root/protos
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2017-10-17 15:39:46 -0700
committerHyunyoung Song <hyunyoungs@google.com>2017-10-19 15:15:02 -0700
commit7fb3ccc4a535e8fb2929929538e32ab0bc6ffcc1 (patch)
tree01eb17cb9a5282e7d488eefdf8468a68355c5915 /protos
parentf9403d92fa872a9f9f487540dc989df7b80db8b8 (diff)
downloadandroid_packages_apps_Trebuchet-7fb3ccc4a535e8fb2929929538e32ab0bc6ffcc1.tar.gz
android_packages_apps_Trebuchet-7fb3ccc4a535e8fb2929929538e32ab0bc6ffcc1.tar.bz2
android_packages_apps_Trebuchet-7fb3ccc4a535e8fb2929929538e32ab0bc6ffcc1.zip
Log time spent on different UI surfaces
- When swipe happens on worskpace, elapsed container ms is reset - Fling DOWN is also logged so that we now know how much time was spent on all apps screen - If screen off or power button trigger onPause, log this event. Bug: 67745115 Change-Id: Ie3a0090c78195a4a028de9935131e9e034dcf48a
Diffstat (limited to 'protos')
-rw-r--r--protos/launcher_log.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/protos/launcher_log.proto b/protos/launcher_log.proto
index 0bbec188d..de74fcec5 100644
--- a/protos/launcher_log.proto
+++ b/protos/launcher_log.proto
@@ -132,7 +132,9 @@ message Action {
// not using the HOME_INTENT
CANCEL = 3; // Indicates that a confirmation screen was cancelled
CONFIRM = 4; // Indicates thata confirmation screen was accepted
+ STOP = 5; // Indicates onStop() was called (screen time out, power off)
}
+
optional Type type = 1;
optional Touch touch = 2;
optional Direction dir = 3;