Merge commit '750e82e51921428dc4ad9a75f18b02b8048734d8' into eclair-mr2-plus-aosp * commit '750e82e51921428dc4ad9a75f18b02b8048734d8': When tasks are moved to top or bottom, the app tokens are being rearranged.
This commit is contained in:
@@ -9620,6 +9620,10 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
moveInputMethodWindowsIfNeededLocked(false);
|
moveInputMethodWindowsIfNeededLocked(false);
|
||||||
wallpaperMayChange = true;
|
wallpaperMayChange = true;
|
||||||
mLayoutNeeded = true;
|
mLayoutNeeded = true;
|
||||||
|
// Since the window list has been rebuilt, focus might
|
||||||
|
// have to be recomputed since the actual order of windows
|
||||||
|
// might have changed again.
|
||||||
|
focusMayChange = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int adjResult = 0;
|
int adjResult = 0;
|
||||||
|
|||||||
@@ -7183,7 +7183,6 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
|
|||||||
|
|
||||||
if (DEBUG_TRANSITION) Log.v(TAG,
|
if (DEBUG_TRANSITION) Log.v(TAG,
|
||||||
"Prepare to back transition: task=" + task);
|
"Prepare to back transition: task=" + task);
|
||||||
mWindowManager.prepareAppTransition(WindowManagerPolicy.TRANSIT_TASK_TO_BACK);
|
|
||||||
|
|
||||||
final int N = mHistory.size();
|
final int N = mHistory.size();
|
||||||
int bottom = 0;
|
int bottom = 0;
|
||||||
@@ -7213,7 +7212,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
|
|||||||
mNoAnimActivities.add(r);
|
mNoAnimActivities.add(r);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
mWindowManager.prepareAppTransition(WindowManagerPolicy.TRANSIT_TASK_TO_FRONT);
|
mWindowManager.prepareAppTransition(WindowManagerPolicy.TRANSIT_TASK_TO_BACK);
|
||||||
}
|
}
|
||||||
mWindowManager.moveAppTokensToBottom(moved);
|
mWindowManager.moveAppTokensToBottom(moved);
|
||||||
if (VALIDATE_TOKENS) {
|
if (VALIDATE_TOKENS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user