OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
547a297
)
Disable the Java subsystem when RFCOMM sockets are cleaned up
author
Sharvil Nanavati
<sharvil@google.com>
Wed, 6 Apr 2016 23:08:38 +0000
(16:08 -0700)
committer
Sharvil Nanavati
<sharvil@google.com>
Wed, 6 Apr 2016 23:19:39 +0000
(23:19 +0000)
Change-Id: I33dfd2aa01d6f496bee151d5994872e04d25e469
btif/src/btif_sock_rfc.c
patch
|
blob
|
history
diff --git
a/btif/src/btif_sock_rfc.c
b/btif/src/btif_sock_rfc.c
index
a0091e3
..
cb22a5b
100644
(file)
--- a/
btif/src/btif_sock_rfc.c
+++ b/
btif/src/btif_sock_rfc.c
@@
-130,6
+130,8
@@
void btsock_rfc_cleanup(void) {
pth = -1;
uid_set = NULL;
+ BTA_JvDisable();
+
pthread_mutex_lock(&slot_lock);
for (size_t i = 0; i < ARRAY_SIZE(rfc_slots); ++i) {
if (rfc_slots[i].id)