Override toString in WindowInfosListenerForTest.WindowInfo
Provide class info in WindowInfo#toString Test: TrustedPresentationCallbackTest Bug: 279957280 Change-Id: If18448921799e2152bc7f21c0fa0557734af987f
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user