Merge "Get rid of setInteractionHandler call to the host in launcher" into tm-qpr-dev

This commit is contained in:
Sihua Ma authored and Android (Google) Code Review committed 2022-10-25 02:44:16 +00:00
commit 4421353ce8
5 files changed
+63 -4

No files matched your search

@@ -490,7 +490,8 @@ public class QuickstepLauncher extends Launcher {
protected LauncherAppWidgetHost createAppWidgetHost() {
LauncherAppWidgetHost appWidgetHost = super.createAppWidgetHost();
appWidgetHost.setInteractionHandler(new QuickstepInteractionHandler(this));
ApiWrapper.setHostInteractionHandler(appWidgetHost,
new QuickstepInteractionHandler(this));
return appWidgetHost;
}