summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Bishoy Gendy <bishoygendy@google.com> 2024-01-09 13:56:38 +0000
committer Bishoy Gendy <bishoygendy@google.com> 2024-01-09 14:26:37 +0000
commit857e32dc2e4df9e587e50ffccd9833ca46ea4a0c (patch)
tree87eaa108ed1cdbf4ca164e2bb897fcb0310240de
parentff17547ea3d68d1a48bdc1cff0d5db485d239269 (diff)
Add type and isSystem to MediaRoute2Info toString()
Bug: 205124386 Change-Id: I34a1e8fb74a6816daea3aaaa2a9c8678a1e02dc1 Test: m
-rw-r--r--media/java/android/media/MediaRoute2Info.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/java/android/media/MediaRoute2Info.java b/media/java/android/media/MediaRoute2Info.java
index 0eabe66e9a69..838630fcccb9 100644
--- a/media/java/android/media/MediaRoute2Info.java
+++ b/media/java/android/media/MediaRoute2Info.java
@@ -943,6 +943,10 @@ public final class MediaRoute2Info implements Parcelable {
.append(getId())
.append(", name=")
.append(getName())
+ .append(", type=")
+ .append(getDeviceTypeString(getType()))
+ .append(", isSystem=")
+ .append(isSystemRoute())
.append(", features=")
.append(getFeatures())
.append(", iconUri=")