Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java +5 −1 Original line number Diff line number Diff line Loading @@ -1306,7 +1306,11 @@ public class BubbleController implements ConfigurationChangeListener, // TODO b/392893178: Merge the unfold and the task view transition so that we don't // have to post a delayed runnable to the looper to update the bounds if (mStackView.isExpanded()) { mStackView.postDelayed(() -> mStackView.updateExpandedView(), 500); mStackView.postDelayed(() -> { if (mStackView != null) { mStackView.updateExpandedView(); } } , 500); } } if (newConfig.fontScale != mFontScale) { Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java +6 −3 Original line number Diff line number Diff line Loading @@ -468,9 +468,12 @@ public class BubbleExpandedView extends LinearLayout { public void onTaskCreated() { // The taskId is saved to use for removeTask, // preventing appearance in recent tasks. mTaskId = ((BubbleTaskViewListener) mCurrentTaskViewListener) .getTaskId(); BubbleTaskViewListener listener = mCurrentTaskViewListener != null ? ((BubbleTaskViewListener) mCurrentTaskViewListener) : null; mTaskId = listener != null ? listener.getTaskId() : bubbleTaskView.getTaskId(); setContentVisibility(true); } Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java +5 −1 Original line number Diff line number Diff line Loading @@ -1306,7 +1306,11 @@ public class BubbleController implements ConfigurationChangeListener, // TODO b/392893178: Merge the unfold and the task view transition so that we don't // have to post a delayed runnable to the looper to update the bounds if (mStackView.isExpanded()) { mStackView.postDelayed(() -> mStackView.updateExpandedView(), 500); mStackView.postDelayed(() -> { if (mStackView != null) { mStackView.updateExpandedView(); } } , 500); } } if (newConfig.fontScale != mFontScale) { Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java +6 −3 Original line number Diff line number Diff line Loading @@ -468,9 +468,12 @@ public class BubbleExpandedView extends LinearLayout { public void onTaskCreated() { // The taskId is saved to use for removeTask, // preventing appearance in recent tasks. mTaskId = ((BubbleTaskViewListener) mCurrentTaskViewListener) .getTaskId(); BubbleTaskViewListener listener = mCurrentTaskViewListener != null ? ((BubbleTaskViewListener) mCurrentTaskViewListener) : null; mTaskId = listener != null ? listener.getTaskId() : bubbleTaskView.getTaskId(); setContentVisibility(true); } Loading