-
Reilly Grant authored
In r604906 this method was updated to return the device list from cache if available. By running the passed callback synchronously however this violated the assumptions of other code, such as the USB device chooser on Android. Methods that execute a callback either synchronously or asynchronously tend to trigger errors in other code and so rather than work around this change in behavior this patch forces the callback to always be run asynchronously. Bug: 904321 Change-Id: Ib6a71bee3c578e42e2812bc762db40ebc2bd6994 Reviewed-on: https://chromium-review.googlesource.com/c/1338941 Commit-Queue: Reilly Grant <reillyg@chromium.org> Reviewed-by:
Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#608912}
3bcdf2a2