Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f0f96a6 authored by Louis Chang's avatar Louis Chang Committed by Automerger Merge Worker
Browse files

Merge "Finishing the visible requested activity vs. destroying it" into tm-qpr-dev am: ff91f4ef

parents 53f5867f ff91f4ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1062,7 +1062,7 @@ class WindowOrganizerController extends IWindowOrganizerController.Stub
                if (activity == null || activity.finishing) {
                if (activity == null || activity.finishing) {
                    break;
                    break;
                }
                }
                if (activity.isVisible()) {
                if (activity.isVisible() || activity.isVisibleRequested()) {
                    // Prevent the transition from being executed too early if the activity is
                    // Prevent the transition from being executed too early if the activity is
                    // visible.
                    // visible.
                    activity.finishIfPossible("finish-activity-op", false /* oomAdj */);
                    activity.finishIfPossible("finish-activity-op", false /* oomAdj */);