Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java +5 −1 Original line number Diff line number Diff line Loading @@ -963,7 +963,11 @@ public class BubbleExpandedView extends LinearLayout { && mTaskView.isAttachedToWindow()) { // post this to the looper, because if the device orientation just changed, we need to // let the current shell transition complete before updating the task view bounds. post(() -> mTaskView.onLocationChanged()); post(() -> { if (mTaskView != null) { mTaskView.onLocationChanged(); } }); } if (mIsOverflow) { // post this to the looper so that the view has a chance to be laid out before it can Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java +5 −1 Original line number Diff line number Diff line Loading @@ -963,7 +963,11 @@ public class BubbleExpandedView extends LinearLayout { && mTaskView.isAttachedToWindow()) { // post this to the looper, because if the device orientation just changed, we need to // let the current shell transition complete before updating the task view bounds. post(() -> mTaskView.onLocationChanged()); post(() -> { if (mTaskView != null) { mTaskView.onLocationChanged(); } }); } if (mIsOverflow) { // post this to the looper so that the view has a chance to be laid out before it can Loading