Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5325e18 authored by xutianguo's avatar xutianguo Committed by Marie Janssen
Browse files

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: default avatarxutianguo <xutianguo@xiaomi.com>
(cherry picked from commit 95e1e21a639318bb3399c394707624393cfa2300)
parent 29926838
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ package android.bluetooth;
 *
 * {@hide}
 */
interface IBluetoothStateChangeCallback
oneway interface IBluetoothStateChangeCallback
{
    void onBluetoothStateChange(boolean on);
}