summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/14/changes
diff options
context:
space:
mode:
authorWei Wang <weiwa@google.com>2014-08-18 16:08:00 -0700
committerWei Wang <weiwa@google.com>2014-08-19 10:46:52 -0700
commitb661bb79584f83ae95713e502fc14363c80c0278 (patch)
tree5945e5a8ebeb428e6b484167aa5061844993185d /docs/html/sdk/api_diff/14/changes
parent3f05bf4d7838cb719e78f9d93b22d7ce777392c5 (diff)
Fix race condition for BluetoothLeScanner.
Root cause of the issue: Client registeration was done on caller's thread, while onClientRegistered was called from binder thread. There is a slight chance that onClientRegistered was called before registerClient returned, causing a premature notifyAll before wait was called. By forcing acquiring the same lock now it's guaranteed wait would happen before onClientRegistered callback was executed. Bug: 16707401 Change-Id: Ic60adec475085741d14ecd2d2bb462246f88da58
Diffstat (limited to 'docs/html/sdk/api_diff/14/changes')
0 files changed, 0 insertions, 0 deletions