commit | 7c34b283a8179edfb347738ff70faa615c959024 | [log] [tgz] |
---|---|---|
author | Alexander Demurov <ademurov@google.com> | Thu Apr 25 08:41:26 2024 -0700 |
committer | Alexander Demurov <ademurov@google.com> | Thu Apr 25 16:42:13 2024 +0000 |
tree | 3e01fe8e06ac03f7c5d9d33fdcbc20b33f4c1526 | |
parent | b9be58b9eb3e203ea9a03f8fa5f7d502afdd3253 [diff] |
Fix device state change events for a disconnected device This will match Ddmlib behavior where the device state change is not triggered for the `DISCONNECTED` device state. Also this change fixes a race condition where the `removedDevice` handler is called before the device state is updated to `DISCONNECTED`. Test: added Bug: 293350579 Change-Id: I7e8f553f3e1e83986744161524752bec83b8f6df
This project contains: