diff options
author | Mike Lockwood <lockwood@google.com> | 2015-05-07 13:02:01 -0700 |
---|---|---|
committer | Mike Lockwood <lockwood@google.com> | 2015-05-07 13:02:01 -0700 |
commit | fd5637fcce18adf44421389bf97a9da546f08940 (patch) | |
tree | 4ef61f086c9dc9ba6a75031e7f0a6f00c40d793e /services | |
parent | dd441795409f26f45de3ce40a1bab4121cfcefe5 (diff) | |
download | frameworks_base-fd5637fcce18adf44421389bf97a9da546f08940.zip frameworks_base-fd5637fcce18adf44421389bf97a9da546f08940.tar.gz frameworks_base-fd5637fcce18adf44421389bf97a9da546f08940.tar.bz2 |
MidiManager: Improve output of "dumpsys midi"
- Include each device's port status from MidiDeviceStatus
- MidiDeviceInfo.toString() now outputs all the names and values in the properties Bundle
Change-Id: Ic9329153e4ae4d5619e274d27a420943473377e5
Diffstat (limited to 'services')
-rw-r--r-- | services/midi/java/com/android/server/midi/MidiService.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/midi/java/com/android/server/midi/MidiService.java b/services/midi/java/com/android/server/midi/MidiService.java index c1c5c56..176f54b 100644 --- a/services/midi/java/com/android/server/midi/MidiService.java +++ b/services/midi/java/com/android/server/midi/MidiService.java @@ -294,8 +294,10 @@ public class MidiService extends IMidiManager.Stub { @Override public String toString() { - StringBuilder sb = new StringBuilder("Device: "); + StringBuilder sb = new StringBuilder("Device Info: "); sb.append(mDeviceInfo); + sb.append(" Status: "); + sb.append(mDeviceStatus); sb.append(" UID: "); sb.append(mUid); return sb.toString(); |