Merge "Finishing the visible requested activity vs. destroying it" into tm-qpr-dev
This commit is contained in:
@@ -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 */);
|
||||||
|
|||||||
Reference in New Issue
Block a user