Make BluetoothStateChangeCallback oneway to prevent waiting on response.

Test: Connected bluetooth devices(included Headset/HID devices), and
made bluetooth enabling/disabling over 1000 times, no other side effect
observed.

Bug: 38485770

Change-Id: Ia3959d2441aece39a79ab2d662b57790a78df674
Signed-off-by: xutianguo <xutianguo@xiaomi.com>
(cherry picked from commit 95e1e21a639318bb3399c394707624393cfa2300)
This commit is contained in:
xutianguo
2017-05-22 14:03:33 +08:00
committed by Marie Janssen
parent 29926838d4
commit a5325e18df

View File

@@ -21,7 +21,7 @@ package android.bluetooth;
*
* {@hide}
*/
interface IBluetoothStateChangeCallback
oneway interface IBluetoothStateChangeCallback
{
void onBluetoothStateChange(boolean on);
}