DescriptionObserve UsbService from the FILE thread in DevicePermissionsManager.
As in the UsbEventRouter the UsbService must be observed from the FILE
thread (until bug 427985 is resolved, which will be soon). This change
fixes a DCHECK(CalledOnValidThread()) in UsbService::AddObserver when
permission to access an ephemeral (no serial number) device is added and
the DevicePermissionsManager starts listening for disconnection of that
device.
BUG=452652
Committed: https://crrev.com/897bbc219ac773a8a6c5799bc323b9fa8eea0989
Cr-Commit-Position: refs/heads/master@{#313548}
Patch Set 1 : #
Total comments: 1
Patch Set 2 : Remove the controversial fix for bug 452298. #
Messages
Total messages: 11 (4 generated)
|