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

Commit f180f30b authored by Martijn Coenen's avatar Martijn Coenen
Browse files

Add "urn:nfc" shortener.

As defined in the NFC Forum specification
"URI Record Type Definition". For some reason
0x23 wasn't added in the past, but it's present
in the specification.

Change-Id: If4ec2216fd53a31943f6de62aa1c69166f597616
parent dec9cdad
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -269,6 +269,7 @@ public final class NdefRecord implements Parcelable {
            "urn:epc:pat:", // 0x20
            "urn:epc:raw:", // 0x21
            "urn:epc:", // 0x22
            "urn:nfc:", // 0x23
    };

    private static final int MAX_PAYLOAD_SIZE = 10 * (1 << 20);  // 10 MB payload limit