Commit: 39bf745e92b79891c43b42de662fb41c42b3b30e
Parent: d52939fde909bae869bad70894dd4407e1337e5f
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2013-10-25 16:08:04
Tree: 0dd39ae73080586242f797dabfef2f17fbc47e68

android/hal: Associate thread to Java Without thread assiciation callbacks are not received by Java. They are blocked by JNI: E/BluetoothServiceJni( 2844): Callback env check fail: env: 0x0, callback: 0x0 E/BluetoothServiceJni( 2844): Callback: 'adapter_state_change_callback' is not called on the correct thread

Diffstat

M android/hal-bluetooth.c | 12 ++++++++++++
M android/hal-ipc.c | 4 ++++
M android/hal.h | 2 ++

3 files changed, 18 insertions(+), 0 deletions(-)

View Full Diff | Patch