OSDN Git Service

On disable send the disable event to stack right away, as the stack will take care...
authorRavi Nagarajan <nravi@broadcom.com>
Fri, 20 Apr 2012 11:54:29 +0000 (04:54 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Tue, 17 Jul 2012 05:03:07 +0000 (22:03 -0700)
commitb8a77aa1b386baaf6381f7b356b9485673e1f942
treea384a65ba52e2dd8ff6b0b3c738e55d7e24906bb
parent6de8229571ce56dcb0010c63cbef65e01ecd5c2a
On disable send the disable event to stack right away, as the stack will take care of tearing down the active connections. ALL_DEVICES_DISCONNECTED was not being sent (as no profiles handled it), causing 3 second delay on BT off

Change-Id: I8aa83f3cd2019f521d5522e9455303a413dddcc1
src/com/android/bluetooth/btservice/AdapterState.java