Merge "Override toString in WindowInfosListenerForTest.WindowInfo" into udc-qpr-dev

This commit is contained in:
Chavi Weingarten
2023-06-20 18:29:50 +00:00
committed by Android (Google) Code Review

View File

@@ -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";