From b5b41179729845819c4d60442e4ea544ed9c0542 Mon Sep 17 00:00:00 2001 From: Jeremy Sim Date: Mon, 7 Aug 2023 18:38:03 -0700 Subject: [PATCH] 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 --- .../src/com/android/wm/shell/splitscreen/StageCoordinator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java b/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java index 69609ac6b7528..3758b6890f48c 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/StageCoordinator.java @@ -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;