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

Commit 63149560 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Android (Google) Code Review
Browse files

Merge "Fix bug where GATT descriptors weren't being added to right characteristic"

parents 3395f974 2975c683
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -267,7 +267,7 @@ public final class BluetoothGatt implements BluetoothProfile {
                if (service == null) return;

                BluetoothGattCharacteristic characteristic = service.getCharacteristic(
                    charUuid.getUuid());
                    charUuid.getUuid(), charInstId);
                if (characteristic == null) return;

                characteristic.addDescriptor(new BluetoothGattDescriptor(