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

Commit 4c75faae authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "PBAP: Check for null in isNameMatchTarget"

parents 4cafef3a 54434463
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -478,6 +478,7 @@ public class BluetoothPbapObexServer extends ServerRequestHandler {
    }

    private boolean isNameMatchTarget(String name, String target) {
        if (name == null) return false;
        String contentTypeName = name;
        if (contentTypeName.endsWith(".vcf")) {
            contentTypeName = contentTypeName