Merge "Finishing the visible requested activity vs. destroying it" into tm-qpr-dev am: ff91f4ef55 am: 9f0f96a6fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20747852 Change-Id: I7ee6b98ae9a87c552114dee49144782a3bee0793 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1059,7 +1059,7 @@ class WindowOrganizerController extends IWindowOrganizerController.Stub
|
||||
if (activity == null || activity.finishing) {
|
||||
break;
|
||||
}
|
||||
if (activity.isVisible()) {
|
||||
if (activity.isVisible() || activity.isVisibleRequested()) {
|
||||
// Prevent the transition from being executed too early if the activity is
|
||||
// visible.
|
||||
activity.finishIfPossible("finish-activity-op", false /* oomAdj */);
|
||||
|
||||
Reference in New Issue
Block a user