From f81e8b002a4e7242795718b5fc6061173e98af33 Mon Sep 17 00:00:00 2001 From: thiruram Date: Wed, 15 Apr 2020 10:22:28 -0700 Subject: 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 --- protos/launcher_atom.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protos') 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; -- cgit v1.2.3