summaryrefslogtreecommitdiffstats
path: root/protos
diff options
context:
space:
mode:
authorJon Miranda <jonmiranda@google.com>2016-10-06 10:53:29 -0700
committerJon Miranda <jonmiranda@google.com>2016-11-21 17:01:24 -0800
commitfeba90fe802cb54e02dd961dbea265c044ad5f9e (patch)
treefe4ac989638182de8c73f822141fa219b26d51d5 /protos
parent0860e41d50ec2fbb16119fd364e36251b04932eb (diff)
downloadandroid_packages_apps_Trebuchet-feba90fe802cb54e02dd961dbea265c044ad5f9e.tar.gz
android_packages_apps_Trebuchet-feba90fe802cb54e02dd961dbea265c044ad5f9e.tar.bz2
android_packages_apps_Trebuchet-feba90fe802cb54e02dd961dbea265c044ad5f9e.zip
Added logging for HOME_INTENT and BACK commands.
Document: go/false-longpress-overview Change-Id: If6ba4996c861a44f4950b41acb4246e3a483d8f2
Diffstat (limited to 'protos')
-rw-r--r--protos/launcher_log.proto13
1 files changed, 12 insertions, 1 deletions
diff --git a/protos/launcher_log.proto b/protos/launcher_log.proto
index 6b2755953..33041dbca 100644
--- a/protos/launcher_log.proto
+++ b/protos/launcher_log.proto
@@ -63,6 +63,7 @@ enum ItemType {
FOLDER_ICON = 4;
DEEPSHORTCUT = 5;
SEARCHBOX = 6;
+ EDITTEXT = 7;
}
// Used to define what type of container a Target would represent.
@@ -91,7 +92,9 @@ enum ControlType {
APPINFO_TARGET = 7;
RESIZE_HANDLE = 8;
VERTICAL_SCROLL = 9;
- // HOME, BACK, GO_TO_PLAYSTORE
+ HOME_INTENT = 10; // Deprecated, use enum Command instead
+ BACK_BUTTON = 11; // Deprecated, use enum Command instead
+ // GO_TO_PLAYSTORE
}
// Used to define the action component of the LauncherEvent.
@@ -99,6 +102,7 @@ message Action {
enum Type {
TOUCH = 0;
AUTOMATED = 1;
+ COMMAND = 2;
// SOFT_KEYBOARD, HARD_KEYBOARD, ASSIST
}
enum Touch {
@@ -116,9 +120,16 @@ message Action {
LEFT = 3;
RIGHT = 4;
}
+ enum Command {
+ HOME_INTENT = 0;
+ BACK = 1;
+ }
optional Type type = 1;
optional Touch touch = 2;
optional Direction dir = 3;
+ optional Command command = 4;
+ // Log if the action was performed on outside of the container
+ optional bool is_outside = 5;
}
//