OSDN Git Service

Run the wakelock JNI callbacks on the JNI thread
authorPavlin Radoslavov <pavlin@google.com>
Sat, 25 Aug 2018 01:45:16 +0000 (18:45 -0700)
committerJack He <siyuanh@google.com>
Wed, 3 Oct 2018 19:13:48 +0000 (19:13 +0000)
commitf918ab9ff83a750a344871758a308f17b6e8f5fb
tree49724f096eefcb65078b7a38359f792fc2df50e0
parentd65f697c011cc6e5eaad767de3ec726cfd25b27f
Run the wakelock JNI callbacks on the JNI thread

All JNI callbacks must be on the JNI thread, otherwise this could
impact the threads' operation.

Bug: 111277984
Test: A2DP streaming
Change-Id: I94fa4500aea62a574c80749e904434e46eb4e942
(cherry picked from commit c788ad703836f6ac0f63e47b20f27b41dcce9353)
btif/src/bluetooth.cc