* commit '443d1a6ae3b9550a4a1b46926b336c1a534db2f4': [ActivityManager] Reset ActivityRecord's waitingVisible
This commit is contained in:
@@ -1567,6 +1567,7 @@ final class ActivityStack {
|
||||
mStackSupervisor.mGoingToSleepActivities.remove(next);
|
||||
next.sleeping = false;
|
||||
mStackSupervisor.mWaitingVisibleActivities.remove(next);
|
||||
next.waitingVisible = false;
|
||||
|
||||
if (DEBUG_SWITCH) Slog.v(TAG, "Resuming " + next);
|
||||
|
||||
@@ -2776,6 +2777,7 @@ final class ActivityStack {
|
||||
mStackSupervisor.mStoppingActivities.remove(r);
|
||||
mStackSupervisor.mGoingToSleepActivities.remove(r);
|
||||
mStackSupervisor.mWaitingVisibleActivities.remove(r);
|
||||
r.waitingVisible = false;
|
||||
if (mResumedActivity == r) {
|
||||
mResumedActivity = null;
|
||||
}
|
||||
@@ -2977,6 +2979,7 @@ final class ActivityStack {
|
||||
// down to the max limit while they are still waiting to finish.
|
||||
mStackSupervisor.mFinishingActivities.remove(r);
|
||||
mStackSupervisor.mWaitingVisibleActivities.remove(r);
|
||||
r.waitingVisible = false;
|
||||
|
||||
// Remove any pending results.
|
||||
if (r.finishing && r.pendingResults != null) {
|
||||
|
||||
Reference in New Issue
Block a user