diff options
author | Siva Velusamy <vsiva@google.com> | 2012-10-10 15:16:44 -0700 |
---|---|---|
committer | Siva Velusamy <vsiva@google.com> | 2012-10-10 15:16:44 -0700 |
commit | d881a52e0942ea0f239d0b9ed11261bc8caf68a6 (patch) | |
tree | 8ffcc806fac2013369d737f2c080b2a3efd59ad9 /ddms | |
parent | fd0378d1cf71da55a49a50097ac522e0c84060af (diff) | |
download | sdk-d881a52e0942ea0f239d0b9ed11261bc8caf68a6.zip sdk-d881a52e0942ea0f239d0b9ed11261bc8caf68a6.tar.gz sdk-d881a52e0942ea0f239d0b9ed11261bc8caf68a6.tar.bz2 |
ddms: Show user id only for non owners
- Makes it easier to scan
- Doesn't show user id at all for phones since there are no
multiple users on a phone.
Change-Id: I108f220ccf0af7e1293dd6cab58705ea19014ae4
Diffstat (limited to 'ddms')
-rw-r--r-- | ddms/libs/ddmuilib/src/com/android/ddmuilib/DevicePanel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ddms/libs/ddmuilib/src/com/android/ddmuilib/DevicePanel.java b/ddms/libs/ddmuilib/src/com/android/ddmuilib/DevicePanel.java index 5c649ba..a24b8a0 100644 --- a/ddms/libs/ddmuilib/src/com/android/ddmuilib/DevicePanel.java +++ b/ddms/libs/ddmuilib/src/com/android/ddmuilib/DevicePanel.java @@ -245,7 +245,7 @@ public final class DevicePanel extends Panel implements IDebugBridgeChangeListen case CLIENT_COL_NAME: String name = cd.getClientDescription(); if (name != null) { - if (cd.isValidUserId()) { + if (cd.isValidUserId() && cd.getUserId() != 0) { return String.format(Locale.US, "%s (%d)", name, cd.getUserId()); } else { return name; |