Merge "Don't destroy surfaces of activities launched behind early." into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b503e3f287
@@ -308,13 +308,9 @@ public class AppWindowAnimator {
|
|||||||
|
|
||||||
transformation.clear();
|
transformation.clear();
|
||||||
|
|
||||||
final int N = mAllAppWinAnimators.size();
|
final int numAllAppWinAnimators = mAllAppWinAnimators.size();
|
||||||
for (int i=0; i<N; i++) {
|
for (int i = 0; i < numAllAppWinAnimators; i++) {
|
||||||
final WindowStateAnimator winAnim = mAllAppWinAnimators.get(i);
|
mAllAppWinAnimators.get(i).finishExit();
|
||||||
if (mAppToken.mLaunchTaskBehind) {
|
|
||||||
winAnim.mWin.mExiting = true;
|
|
||||||
}
|
|
||||||
winAnim.finishExit();
|
|
||||||
}
|
}
|
||||||
if (mAppToken.mLaunchTaskBehind) {
|
if (mAppToken.mLaunchTaskBehind) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user