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

Commit 6f196f7c authored by Chavi Weingarten's avatar Chavi Weingarten
Browse files

Override toString in WindowInfosListenerForTest.WindowInfo

Provide class info in WindowInfo#toString

Test: TrustedPresentationCallbackTest
Bug: 279957280
Change-Id: If18448921799e2152bc7f21c0fa0557734af987f
parent b0864b83
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -81,6 +81,14 @@ public class WindowInfosListenerForTest {
            this.isTrustedOverlay = (inputConfig & InputConfig.TRUSTED_OVERLAY) != 0;
            this.isVisible = (inputConfig & InputConfig.NOT_VISIBLE) == 0;
        }

        @Override
        public String toString() {
            return name + ", frame=" + bounds
                    + ", isVisible=" + isVisible
                    + ", isTrustedOverlay=" + isTrustedOverlay
                    + ", token=" + windowToken;
        }
    }

    private static final String TAG = "WindowInfosListenerForTest";