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

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

Fix register for notification logic

am: 55296d1f

* commit '55296d1f':
  Fix register for notification logic
parents d0deca6c 55296d1f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1533,7 +1533,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;
        }