Merge "Keydispatching timeout while finish Activity"

This commit is contained in:
Craig Mautner
2013-12-19 17:48:58 +00:00
committed by Gerrit Code Review

View File

@@ -2526,6 +2526,7 @@ final class ActivityStack {
// activity into the stopped state and then finish it.
if (localLOGV) Slog.v(TAG, "Enqueueing pending finish: " + r);
mStackSupervisor.mFinishingActivities.add(r);
r.resumeKeyDispatchingLocked();
mStackSupervisor.getFocusedStack().resumeTopActivityLocked(null);
return r;
}