Merge "Add nudgeView to Taskbar.xml" into main

This commit is contained in:
Brandon Dayauon authored and Android (Google) Code Review committed 2025-04-11 16:28:59 -07:00
commit b570514ee0
13 files changed
+482 -5

No files matched your search

@@ -307,6 +307,7 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
TaskbarScrimView taskbarScrimView = mDragLayer.findViewById(R.id.taskbar_scrim);
NearestTouchFrame navButtonsView = mDragLayer.findViewById(R.id.navbuttons_view);
StashedHandleView stashedHandleView = mDragLayer.findViewById(R.id.stashed_handle);
NudgeView nudgeView = mDragLayer.findViewById(R.id.nudge_icon);
BubbleBarView bubbleBarView = mDragLayer.findViewById(R.id.taskbar_bubbles);
FrameLayout bubbleBarContainer = mDragLayer.findViewById(R.id.taskbar_bubbles_container);
StashedHandleView bubbleHandleView = mDragLayer.findViewById(R.id.stashed_bubble_handle);
@@ -391,7 +392,8 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
bubbleControllersOptional,
new TaskbarDesktopModeController(this,
DesktopVisibilityController.INSTANCE.get(this)),
new NudgeController(this));
new NudgeController(this),
new NudgeViewController(this, nudgeView));
mLauncherPrefs = LauncherPrefs.get(this);
onViewCreated();