diff options
author | thiruram <thiruram@google.com> | 2020-04-15 10:22:28 -0700 |
---|---|---|
committer | thiruram <thiruram@google.com> | 2020-04-30 15:03:43 -0700 |
commit | f81e8b002a4e7242795718b5fc6061173e98af33 (patch) | |
tree | b815c545796419a633e8eaa4f0ba2c76cdd4ae62 /protos | |
parent | 28ad91b01bf1774a5d1288177b3dfbcb8a2ee186 (diff) | |
download | Launcher3-f81e8b002a4e7242795718b5fc6061173e98af33.tar.gz |
Implement LAUNCHER_ITEM_DRAG_STARTED event.
* Fixes null component issue when ItemInfo object copiedFrom.
* Fixes missing container when item is dragged from hybrid hotseat.
Sample Logs:
2020-04-30 14:09:45.499 30472-30472/com.google.android.apps.nexuslauncher D/StatsLogManager: LAUNCHER_ITEM_DRAG_STARTED
# com.android.launcher3.logger.LauncherAtom$ItemInfo@260f31f8
application {
component_name: "com.android.chrome/com.google.android.apps.chrome.Main"
package_name: "com.android.chrome"
}
container_info {
workspace {
grid_x: 2
grid_y: 2
page_index: 2
}
}
is_work: false
2020-04-30 14:23:15.230 31320-31320/com.google.android.apps.nexuslauncher D/StatsLogManager: LAUNCHER_ITEM_DRAG_STARTED
# com.android.launcher3.logger.LauncherAtom$ItemInfo@608f101
application {
component_name: "com.google.android.gm/.ConversationListActivityGmail"
package_name: "com.google.android.gm"
}
container_info {
hotseat {
index: 1
}
}
is_work: false
Bug: 152978018
Change-Id: I3d3ce213fd2fc6eb5ffb239e048ceb7c0fa88b53
Diffstat (limited to 'protos')
-rw-r--r-- | protos/launcher_atom.proto | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protos/launcher_atom.proto b/protos/launcher_atom.proto index f0ecba39e8..036fb02243 100644 --- a/protos/launcher_atom.proto +++ b/protos/launcher_atom.proto @@ -25,7 +25,7 @@ message ItemInfo { Application application = 1; Task task = 2; Shortcut shortcut = 3; - Widget widget = 4; + Widget widget = 4; } // When used for launch event, stores the global predictive rank optional int32 rank = 5; |