commit | 3e9e74ef9fd714931820d31afacbd1573f440e98 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed May 03 17:25:34 2017 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri May 05 12:50:16 2017 -0700 |
tree | ee94bc0c6842fbaa46450821a0cf18702260ab9d | |
parent | d6606c1024587774f68bf16d1e5c4669af4ec73d [diff] |
Improve udev failure diagnostics. A couple of folks had trouble understanding the existing message. Before: 8XV7N15917000596 no permissions (udev requires plugdev group membership); see [http://developer.android.com/tools/device.html] After: 8XV7N15917000596 no permissions (user buttmunch is not in the plugdev group); see [http://developer.android.com/tools/device.html] This also fixes a libusb regression where we wouldn't show anything for devices where we don't have permissions. Bug: http://b/37707122 Test: ran "adb devices" as user buttmunch Change-Id: I2fcd735ff4178145432b532a6e4dc8c93b2743fd