commit | cd35664cdc5097bf38fa2f12aa310855b3c123af | [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 | 5eb284e3e38426b7f9a53bd528eb20115d301956 | |
parent | bdbcdf3a16b9279791b6a409453db22b40c825fb [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