Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleTransitions.java +4 −0 Original line number Original line Diff line number Diff line Loading @@ -214,6 +214,8 @@ public class BubbleTransitions { // the bubble bar flag, but once these are combined we should be able to remove this. // the bubble bar flag, but once these are combined we should be able to remove this. if (com.android.wm.shell.Flags.enableBubbleBar() if (com.android.wm.shell.Flags.enableBubbleBar() && mBubbleData.getSelectedBubble() instanceof Bubble) { && mBubbleData.getSelectedBubble() instanceof Bubble) { ProtoLog.d( WM_SHELL_BUBBLES, "notifyUnfoldTransitionStarting transition=%s", transition); Bubble bubble = (Bubble) mBubbleData.getSelectedBubble(); Bubble bubble = (Bubble) mBubbleData.getSelectedBubble(); mTaskViewTransitions.enqueueExternal( mTaskViewTransitions.enqueueExternal( bubble.getTaskView().getController(), () -> transition); bubble.getTaskView().getController(), () -> transition); Loading @@ -223,6 +225,8 @@ public class BubbleTransitions { /** Notifies when the unfold transition has finished. */ /** Notifies when the unfold transition has finished. */ public void notifyUnfoldTransitionFinished(@NonNull IBinder transition) { public void notifyUnfoldTransitionFinished(@NonNull IBinder transition) { if (com.android.wm.shell.Flags.enableBubbleBar()) { if (com.android.wm.shell.Flags.enableBubbleBar()) { ProtoLog.d( WM_SHELL_BUBBLES, "notifyUnfoldTransitionFinished transition=%s", transition); mTaskViewTransitions.onExternalDone(transition); mTaskViewTransitions.onExternalDone(transition); } } } } Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleTransitions.java +4 −0 Original line number Original line Diff line number Diff line Loading @@ -214,6 +214,8 @@ public class BubbleTransitions { // the bubble bar flag, but once these are combined we should be able to remove this. // the bubble bar flag, but once these are combined we should be able to remove this. if (com.android.wm.shell.Flags.enableBubbleBar() if (com.android.wm.shell.Flags.enableBubbleBar() && mBubbleData.getSelectedBubble() instanceof Bubble) { && mBubbleData.getSelectedBubble() instanceof Bubble) { ProtoLog.d( WM_SHELL_BUBBLES, "notifyUnfoldTransitionStarting transition=%s", transition); Bubble bubble = (Bubble) mBubbleData.getSelectedBubble(); Bubble bubble = (Bubble) mBubbleData.getSelectedBubble(); mTaskViewTransitions.enqueueExternal( mTaskViewTransitions.enqueueExternal( bubble.getTaskView().getController(), () -> transition); bubble.getTaskView().getController(), () -> transition); Loading @@ -223,6 +225,8 @@ public class BubbleTransitions { /** Notifies when the unfold transition has finished. */ /** Notifies when the unfold transition has finished. */ public void notifyUnfoldTransitionFinished(@NonNull IBinder transition) { public void notifyUnfoldTransitionFinished(@NonNull IBinder transition) { if (com.android.wm.shell.Flags.enableBubbleBar()) { if (com.android.wm.shell.Flags.enableBubbleBar()) { ProtoLog.d( WM_SHELL_BUBBLES, "notifyUnfoldTransitionFinished transition=%s", transition); mTaskViewTransitions.onExternalDone(transition); mTaskViewTransitions.onExternalDone(transition); } } } } Loading