summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-10-23 20:52:17 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-10-23 20:52:17 +0000
commit4f69b05e33467324eb4d82368871c07703479c67 (patch)
treed02bd8abdb4f94de918f6dc8adfea5cf938afeda
parentee7e509b3eb935b38f07b100a5dca9983d42ece8 (diff)
parentd49331807c1a3ff19681d3c485d353a440f4a631 (diff)
downloadBluetooth-android12-platform-release.tar.gz
Change-Id: I38e57a78bba530248565a560e23c16c8f0ce5520
-rw-r--r--jni/com_android_bluetooth_btservice_AdapterService.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/jni/com_android_bluetooth_btservice_AdapterService.cpp b/jni/com_android_bluetooth_btservice_AdapterService.cpp
index 62c7d522d..e26171ef8 100644
--- a/jni/com_android_bluetooth_btservice_AdapterService.cpp
+++ b/jni/com_android_bluetooth_btservice_AdapterService.cpp
@@ -582,6 +582,7 @@ static void callback_thread_event(bt_cb_thread_evt event) {
}
vm->DetachCurrentThread();
sHaveCallbackThread = false;
+ callbackEnv = NULL;
}
}