Fix issue #2015611: layering problem when moving an activity to the foreground.
"surface of singleTop acitivy is not added at the top, causing the activity is resumed behind the top activity."
This commit is contained in:
@@ -8179,7 +8179,9 @@ public class WindowManagerService extends IWindowManager.Stub implements Watchdo
|
||||
// This has changed the visibility of windows, so perform
|
||||
// a new layout to get them all up-to-date.
|
||||
mLayoutNeeded = true;
|
||||
moveInputMethodWindowsIfNeededLocked(true);
|
||||
if (!moveInputMethodWindowsIfNeededLocked(true)) {
|
||||
assignLayersLocked();
|
||||
}
|
||||
performLayoutLockedInner();
|
||||
updateFocusedWindowLocked(UPDATE_FOCUS_PLACING_SURFACES);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user