commit | c002888bf59f5b1286c333a1e3529412fc15c5a1 | [log] [tgz] |
---|---|---|
author | Benoit Goby <benoit@android.com> | Mon Apr 01 17:39:06 2013 -0700 |
committer | Benoit Goby <benoit@android.com> | Mon Apr 01 17:39:06 2013 -0700 |
tree | 1fc2a54ba945e62c844c0036ae229b93d9ee4e8a | |
parent | 775c05919ab3d033f8a53ff9570fb6d530ecfc8a [diff] |
adb: Prevent registering usb_disconnect twice adbd can receive multiple AUTH_RSAPUBLICKEY packets. This happens for example when booting with usb attached when we retry authenticating after the framework is done booting. Make sure usb_disconnect is only registered once, otherwise this creates a loop in the disconnects list. Bug: 8504991 Change-Id: Ia1f9a37005dd17b7eefee1493d622e1679263eea