Add toString() dump for Launcher SplitBounds

Bug: 286509643
Change-Id: I57e04c571678dbb553c7d35128d8e63700a2f382
This commit is contained in:
Vinit Nayak committed 2024-02-27 17:07:44 -08:00
1 parent 0b32b7a9cb
commit 75306186e0
1 file changed
+9
@@ -169,6 +169,15 @@ public final class SplitConfigurationOptions {
dividerWidthPercent = visualDividerBounds.width() / totalWidth;
dividerHeightPercent = visualDividerBounds.height() / totalHeight;
}
@Override
public String toString() {
return "LeftTop: " + leftTopBounds + ", taskId: " + leftTopTaskId + "\n"
+ "RightBottom: " + rightBottomBounds + ", taskId: " + rightBottomTaskId + "\n"
+ "Divider: " + visualDividerBounds + "\n"
+ "AppsVertical? " + appsStackedVertically + "\n"
+ "snapPosition: " + snapPosition;
}
}
public static class SplitStageInfo {