[webnfc] Handle the case of android.nfc.tech.Ndef.getNdefMessage() returning null
android.nfc.tech.Ndef.getNdefMessage() may return null when the tag is formatted but is empty, we need to handle the case well. See https://developer.android.com/reference/android/nfc/tech/Ndef.html#getNdefMessage(). BUG=520391 Change-Id: I49cdf40978ad837546dcb050ce8e7d2cac4662ce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1736167 Auto-Submit: Leon Han <leon.han@intel.com> Reviewed-by:Reilly Grant <reillyg@chromium.org> Commit-Queue: Leon Han <leon.han@intel.com> Cr-Commit-Position: refs/heads/master@{#684220}
Showing
Please register or sign in to comment