[webnfc] Bypass android.nfc.NdefRecord.createMime()
This is in preparation for supporting writing NDEFRecord#id into a nfc tag. The plan is: 1. Introduces NDEFRecord{Init}#id and supports reading. Already done by crrev.com/c/1861574. 2. Supports writing. This CL is part of the effort of bypassing all helper functions android.nfc.NdefRecord.createXXX() to enable us to write the id when constructing android.nfc.NdefRecord. See discussions at https://github.com/w3c/web-nfc/issues/410. 3. Introduces NFCScanOptions#id and filters records by it when scanning. 4. Removes NDEFMessage{Init}#url and old impl of the author record. The spec changes: https://github.com/w3c/web-nfc/pull/338 https://github.com/w3c/web-nfc/pull/340 BUG=520391 Change-Id: If3c37f59249a6852d0960eac2c3e4319b82a4a11 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1910906Reviewed-by:François Beaufort <beaufort.francois@gmail.com> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Commit-Queue: Leon Han <leon.han@intel.com> Cr-Commit-Position: refs/heads/master@{#715193}
Showing
Please register or sign in to comment