diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-07-19 01:24:07 -0700 |
---|---|---|
committer | Hyunyoung Song <hyunyoungs@google.com> | 2017-07-20 11:47:11 -0700 |
commit | 2385ebebee97b45adbddb9462dc4ad33fd4f7951 (patch) | |
tree | a903b2abeb9da9dfd0db662a908cfd67afc99f9b /protos/launcher_log.proto | |
parent | 6cd0e46a8ee384a5255b6189cd46ed694fcbecac (diff) | |
download | android_packages_apps_Trebuchet-2385ebebee97b45adbddb9462dc4ad33fd4f7951.tar.gz android_packages_apps_Trebuchet-2385ebebee97b45adbddb9462dc4ad33fd4f7951.tar.bz2 android_packages_apps_Trebuchet-2385ebebee97b45adbddb9462dc4ad33fd4f7951.zip |
Adding support for derivative apps to safely extend LauncherLog proto
Bug: 37676962
Change-Id: I24716070841b41418ac57b8dc367278e3ebdd046
Diffstat (limited to 'protos/launcher_log.proto')
-rw-r--r-- | protos/launcher_log.proto | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protos/launcher_log.proto b/protos/launcher_log.proto index 93e09aea8..0bbec188d 100644 --- a/protos/launcher_log.proto +++ b/protos/launcher_log.proto @@ -15,6 +15,8 @@ */ syntax = "proto2"; +import "launcher_log_extension.proto"; + option java_package = "com.android.launcher3.userevent"; option java_outer_classname = "LauncherLogProto"; @@ -52,6 +54,7 @@ message Target { optional int32 span_x = 13 [default = 1];// Used for ItemType.WIDGET optional int32 span_y = 14 [default = 1];// Used for ItemType.WIDGET optional int32 predictedRank = 15; + optional TargetExtension extension = 16; } // Used to define what type of item a Target would represent. @@ -144,7 +147,6 @@ message Action { // Action (Touch) + Target + Target // message LauncherEvent { - required Action action = 1; // List of targets that touch actions can be operated on. @@ -157,4 +159,6 @@ message LauncherEvent { optional bool is_in_multi_window_mode = 7; optional bool is_in_landscape_mode = 8; + + optional LauncherEventExtension extension = 9; } |