mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Add nudgeView to Taskbar.xml
Aiai will send a broadcast to Launcher and will animate the stashHandleView and nudgeView accordingly. Verified on large screen device that transient taskbar is not affected as its not in scope at the moment. bug:409121556 Test: manual - video in bug Flag: com.android.launcher3.nudge_pill Change-Id: I740e5d81dd008a230aa089f311d38bac665fc227
This commit is contained in:
@@ -69,6 +69,7 @@ public class TaskbarControllers {
|
||||
public final Optional<BubbleControllers> bubbleControllers;
|
||||
public final TaskbarDesktopModeController taskbarDesktopModeController;
|
||||
public final NudgeController nudgeController;
|
||||
public final NudgeViewController nudgeViewController;
|
||||
|
||||
@Nullable private LoggableTaskbarController[] mControllersToLog = null;
|
||||
@Nullable private BackgroundRendererController[] mBackgroundRendererControllers = null;
|
||||
@@ -118,7 +119,8 @@ public class TaskbarControllers {
|
||||
TaskbarPinningController taskbarPinningController,
|
||||
Optional<BubbleControllers> bubbleControllers,
|
||||
TaskbarDesktopModeController taskbarDesktopModeController,
|
||||
NudgeController nudgeController) {
|
||||
NudgeController nudgeController,
|
||||
NudgeViewController nudgeViewController) {
|
||||
this.taskbarActivityContext = taskbarActivityContext;
|
||||
this.taskbarDragController = taskbarDragController;
|
||||
this.navButtonController = navButtonController;
|
||||
@@ -147,6 +149,7 @@ public class TaskbarControllers {
|
||||
this.bubbleControllers = bubbleControllers;
|
||||
this.taskbarDesktopModeController = taskbarDesktopModeController;
|
||||
this.nudgeController = nudgeController;
|
||||
this.nudgeViewController = nudgeViewController;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -273,6 +276,7 @@ public class TaskbarControllers {
|
||||
taskbarUnfoldAnimationController.onDestroy();
|
||||
taskbarViewController.onDestroy();
|
||||
stashedHandleViewController.onDestroy();
|
||||
nudgeViewController.onDestroy();
|
||||
taskbarAutohideSuspendController.onDestroy();
|
||||
taskbarPopupController.onDestroy();
|
||||
taskbarForceVisibleImmersiveController.onDestroy();
|
||||
|
||||
Reference in New Issue
Block a user