Merge "Fix split root removed accidentally" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
edc6a5606e
@@ -1702,7 +1702,8 @@ class ActivityStarter {
|
||||
// Root task should also be detached from display and be removed if it's empty.
|
||||
if (startedActivityRootTask != null && startedActivityRootTask.isAttached()
|
||||
&& !startedActivityRootTask.hasActivity()
|
||||
&& !startedActivityRootTask.isActivityTypeHome()) {
|
||||
&& !startedActivityRootTask.isActivityTypeHome()
|
||||
&& !startedActivityRootTask.mCreatedByOrganizer) {
|
||||
startedActivityRootTask.removeIfPossible("handleStartResult");
|
||||
}
|
||||
if (newTransition != null) {
|
||||
|
||||
Reference in New Issue
Block a user