summaryrefslogtreecommitdiff
path: root/protos
diff options
context:
space:
mode:
authorthiruram <thiruram@google.com>2020-05-04 17:49:37 -0700
committerthiruram <thiruram@google.com>2020-05-06 17:24:09 -0700
commit5a01f0ec51577582ed2433fbeafb1caa517e3440 (patch)
tree86fdd4f0c49ea3ddb8377622e8e863c08065eb21 /protos
parentd13dd3bc44def24ee57deaa7171fe7889537b809 (diff)
downloadLauncher3-5a01f0ec51577582ed2433fbeafb1caa517e3440.tar.gz
Implements LAUNCHER_ITEM_DROP_FOLDER_CREATED event.
When item is dropped on a existing item resulting in new folder creation, triggers LAUNCHER_ITEM_DROP_FOLDER_CREATED event with details of the destination package. This change also introduces new FolderIcon item to launcher_atom.proto to represent folder icon. Screencast and sample logs: https://docs.google.com/document/d/1CBP2yTcXdFhPdNG5ZmWFKSgd8mDbMevY-akVlUXPLDo/edit#bookmark=id.tmbucd1f44qp Bug: 152978018 Change-Id: Ib4d343ba9075aa8853652f128457c4638541ec59
Diffstat (limited to 'protos')
-rw-r--r--protos/launcher_atom.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/protos/launcher_atom.proto b/protos/launcher_atom.proto
index 036fb02243..cac2d8f5a7 100644
--- a/protos/launcher_atom.proto
+++ b/protos/launcher_atom.proto
@@ -26,6 +26,7 @@ message ItemInfo {
Task task = 2;
Shortcut shortcut = 3;
Widget widget = 4;
+ FolderIcon folder_icon = 9;
}
// When used for launch event, stores the global predictive rank
optional int32 rank = 5;
@@ -92,6 +93,11 @@ message Task {
optional int32 index = 3;
}
+// Represents folder in a closed state.
+message FolderIcon {
+ optional int32 cardinality = 1;
+}
+
//////////////////////////////////////////////
// Containers