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

Commit 86884a53 authored by Chris Manton's avatar Chris Manton
Browse files

app::sdpManager: Check for identity address is null

Bug: 338905125
Test: m .
Flag: EXEMPT, Nullptr Check
Change-Id: I3933f5fabe702112b6711a212e0e003e2a1c1e78
parent 78544b07
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -171,6 +171,7 @@ public class SdpManager {
                                ? Utils.getBrEdrAddress(inst.getDevice(), mAdapterService)
                                : mAdapterService.getIdentityAddress(inst.getDevice().getAddress());
                if (instAddressString != null
                        && addressString != null
                        && instAddressString.equals(addressString)
                        && inst.getUuid().equals(uuid)) {
                    return inst.isSearching();