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

Commit faa4ba55 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Merge "Fix NPE in permissionCheck" am: 64ed2357 am: a4972105 am: 1575de46

am: c5984053

Change-Id: I97584f899644fec703e1fba7b76c11524fdfec18
parents c1f9792d c5984053
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -185,6 +185,7 @@ public class GattService extends ProfileService {

    boolean permissionCheck(int connId, int handle) {
        List<BluetoothGattService> db = gattClientDatabases.get(connId);
        if (db == null) return true;

        for (BluetoothGattService service : db) {
            for (BluetoothGattCharacteristic characteristic: service.getCharacteristics()) {