Dump HdmiPortInfo port type

Test: manual
Bug: 131718656
Change-Id: I6e249dc5c995abd13528472aa4d55851f8c46ea6
(cherry picked from commit 82265ec435e671b62805661e9ec80f4c9117a702)
This commit is contained in:
Amy
2019-04-30 17:39:03 -07:00
committed by Amy Zhang
parent 0c8a8a0f5c
commit e95091c01a

View File

@@ -166,6 +166,7 @@ public final class HdmiPortInfo implements Parcelable {
public String toString() {
StringBuffer s = new StringBuffer();
s.append("port_id: ").append(mId).append(", ");
s.append("type: ").append((mType == PORT_INPUT) ? "HDMI_IN" : "HDMI_OUT").append(", ");
s.append("address: ").append(String.format("0x%04x", mAddress)).append(", ");
s.append("cec: ").append(mCecSupported).append(", ");
s.append("arc: ").append(mArcSupported).append(", ");