Merge "Don't destroy surfaces of activities launched behind early." into lmp-mr1-dev

This commit is contained in:
Wale Ogunwale
2014-12-05 22:56:11 +00:00
committed by Android (Google) Code Review

View File

@@ -308,13 +308,9 @@ public class AppWindowAnimator {
transformation.clear();
final int N = mAllAppWinAnimators.size();
for (int i=0; i<N; i++) {
final WindowStateAnimator winAnim = mAllAppWinAnimators.get(i);
if (mAppToken.mLaunchTaskBehind) {
winAnim.mWin.mExiting = true;
}
winAnim.finishExit();
final int numAllAppWinAnimators = mAllAppWinAnimators.size();
for (int i = 0; i < numAllAppWinAnimators; i++) {
mAllAppWinAnimators.get(i).finishExit();
}
if (mAppToken.mLaunchTaskBehind) {
try {