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

* commit 'b503e3f2872636b450d950b5792fdb569d87819c':
  Don't destroy surfaces of activities launched behind early.
This commit is contained in:
Wale Ogunwale
2014-12-05 23:01:11 +00:00
committed by Android Git Automerger

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 {