Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75306186 authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Add toString() dump for Launcher SplitBounds

Bug: 286509643
Change-Id: I57e04c571678dbb553c7d35128d8e63700a2f382
parent 0b32b7a9
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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 {