Merge "Add toString() dump for Launcher SplitBounds" into main

This commit is contained in:
Treehugger Robot
2024-02-29 00:43:17 +00:00
committed by Android (Google) Code Review
@@ -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 {