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

Commit cc305abc authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Fix register for notification logic

Bug: 27790582
Change-Id: I118071b907ec16faad401ba6583ca395d08d6d6e
parent 574bece0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1524,7 +1524,7 @@ public class GattService extends ProfileService {
        if (DBG) Log.d(TAG, "registerForNotification() - address=" + address + " enable: " + enable);

        Integer connId = mClientMap.connIdByAddress(clientIf, address);
        if (connId != null) {
        if (connId == null) {
            Log.e(TAG, "registerForNotification() - No connection for " + address + "...");
            return;
        }