commit | b66356cab6cd47ecbe26513f36614dda1052eb11 | [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 | 7a5aecd221e57e4b6ab73508847920386af496fb | |
parent | d67bbab6d873c073fa5c3bdb93e8f32106898123 [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