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

Commit ff91f4ef authored by Louis Chang's avatar Louis Chang Committed by Android (Google) Code Review
Browse files

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

parents 41f50d35 2d8b0451
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 */);