Small splitscreen logging change

This patch updates one error message to use the same function as all other splitscreen error log messages.

Bug: 280494204
Test: Not needed
Change-Id: Ib08f8a6703bf0588b6e39541b8b3f7166dcffc64
This commit is contained in:
Jeremy Sim
2023-08-07 18:38:03 -07:00
parent 191f2fd456
commit b5b4117972

View File

@@ -2720,7 +2720,8 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
== TRANSIT_SPLIT_SCREEN_OPEN_TO_SIDE) {
// Open to side should only be used when split already active and foregorund.
if (mainChild == null && sideChild == null) {
Log.w(TAG, "Launched a task in split, but didn't receive any task in transition.");
Log.w(TAG, splitFailureMessage("startPendingEnterAnimation",
"Launched a task in split, but didn't receive any task in transition."));
// This should happen when the target app is already on front, so just cancel.
mSplitTransitions.mPendingEnter.cancel(null);
return true;