Merge "Reduce blocking time when waiting for CharacteristicWrite queue to clear up." am: d5bd847275 am: c460086312 am: 33d0f3b417 am: c29dcc4d34

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1932845

Change-Id: I6c94fef43f1b7e6ed8451b556432ad4c0771232f
This commit is contained in:
Treehugger Robot
2022-01-05 22:24:47 +00:00
committed by Automerger Merge Worker

View File

@@ -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;