GetDeviceList returns devices that are no longer connected

I have a Galaxy Nexus (running Android 4.2.2) connected to a computer via USB. The device is connected in device mode with USB debugging enabled. There are no devices connected to the handset.

When I run the debugger, one device appears as connected, but I have no connected devices. The device that is displayed is not connected to the computer.

When the phone restarts, getDeviceList() does not report connected devices, which is correct.

Is this a known bug? Is there a way to update the list of devices to make sure that these are only messages that are actually connected?

+4
source share

Source: https://habr.com/ru/post/1480691/


All Articles