Merge "Fix bubble transition hanging issues" into rvc-dev
This commit is contained in:
@@ -5613,6 +5613,10 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
|
|||||||
}
|
}
|
||||||
|
|
||||||
void onDisplayChanged() {
|
void onDisplayChanged() {
|
||||||
|
mDisplay.getRealSize(mTmpDisplaySize);
|
||||||
|
setBounds(0, 0, mTmpDisplaySize.x, mTmpDisplaySize.y);
|
||||||
|
updateDisplayInfo();
|
||||||
|
|
||||||
// The window policy is responsible for stopping activities on the default display.
|
// The window policy is responsible for stopping activities on the default display.
|
||||||
final int displayId = mDisplay.getDisplayId();
|
final int displayId = mDisplay.getDisplayId();
|
||||||
if (displayId != DEFAULT_DISPLAY) {
|
if (displayId != DEFAULT_DISPLAY) {
|
||||||
@@ -5624,10 +5628,6 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
|
|||||||
mOffToken = null;
|
mOffToken = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mDisplay.getRealSize(mTmpDisplaySize);
|
|
||||||
setBounds(0, 0, mTmpDisplaySize.x, mTmpDisplaySize.y);
|
|
||||||
updateDisplayInfo();
|
|
||||||
mWmService.requestTraversal();
|
mWmService.requestTraversal();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2288,6 +2288,9 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
|
|||||||
TRANSIT_SHOW_SINGLE_TASK_DISPLAY, false);
|
TRANSIT_SHOW_SINGLE_TASK_DISPLAY, false);
|
||||||
}
|
}
|
||||||
stack.awakeFromSleepingLocked();
|
stack.awakeFromSleepingLocked();
|
||||||
|
if (display.isSingleTaskInstance()) {
|
||||||
|
display.executeAppTransition();
|
||||||
|
}
|
||||||
if (stack.isFocusedStackOnDisplay()
|
if (stack.isFocusedStackOnDisplay()
|
||||||
&& !mStackSupervisor.getKeyguardController()
|
&& !mStackSupervisor.getKeyguardController()
|
||||||
.isKeyguardOrAodShowing(display.mDisplayId)) {
|
.isKeyguardOrAodShowing(display.mDisplayId)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user