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

Commit ff0f688c authored by Johanna Ye's avatar Johanna Ye Committed by Rahul Sabnis
Browse files

Reduce blocking time when waiting for CharacteristicWrite queue to clear

up.

Bug: 200073240
Test: manual build
Change-Id: I62070a5789809c363dba3cb4f0d007d17e3a9ef8
parent 8c4a3070
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ public final class BluetoothGatt implements BluetoothProfile {
    private static final int CONN_STATE_CLOSED = 4;

    private static final int WRITE_CHARACTERISTIC_MAX_RETRIES = 5;
    private static final int WRITE_CHARACTERISTIC_TIME_TO_WAIT = 1000; // milliseconds
    private static final int WRITE_CHARACTERISTIC_TIME_TO_WAIT = 10; // milliseconds

    private List<BluetoothGattService> mServices;