OSDN Git Service

Protect concurrent access to local state used during BLE scanning
authorJakub Pawlowski <jpawlowski@google.com>
Wed, 17 May 2017 22:23:22 +0000 (15:23 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Thu, 18 May 2017 06:26:18 +0000 (23:26 -0700)
commit235e738f20c7c3c52828ff7ec1789be7237b6999
tree0b73f99bb9fca2986e1a8b58dc414a433ea6de5e
parentfd7e60b1fd42bfac85e1cf7babcae6323e314c02
Protect concurrent access to local state used during BLE scanning

Make sure that all access happens on jni thread

Bug: 38298938
Test: Code compilation
Change-Id: I38246626d2c6390586b314b27889dd9ba905f406
(cherry picked from commit eb43e9cf12139aeb227e26a8201a80974129c553)
btif/src/btif_ble_scanner.cc