Loading services/core/java/com/android/server/wm/ActivityStarter.java +1 −4 Original line number Diff line number Diff line Loading @@ -2759,10 +2759,7 @@ class ActivityStarter { mInTask = null; // Launch ResolverActivity in the source task, so that it stays in the task bounds // when in freeform workspace. // Also put noDisplay activities in the source task. These by itself can be placed // in any task/root-task, however it could launch other activities like // ResolverActivity, and we want those to stay in the original task. if ((mStartActivity.isResolverOrDelegateActivity() || mStartActivity.noDisplay) if (mStartActivity.isResolverOrDelegateActivity() && mSourceRecord != null && mSourceRecord.inFreeformWindowingMode()) { mAddingToTask = true; } Loading Loading
services/core/java/com/android/server/wm/ActivityStarter.java +1 −4 Original line number Diff line number Diff line Loading @@ -2759,10 +2759,7 @@ class ActivityStarter { mInTask = null; // Launch ResolverActivity in the source task, so that it stays in the task bounds // when in freeform workspace. // Also put noDisplay activities in the source task. These by itself can be placed // in any task/root-task, however it could launch other activities like // ResolverActivity, and we want those to stay in the original task. if ((mStartActivity.isResolverOrDelegateActivity() || mStartActivity.noDisplay) if (mStartActivity.isResolverOrDelegateActivity() && mSourceRecord != null && mSourceRecord.inFreeformWindowingMode()) { mAddingToTask = true; } Loading