[WebNFC] Check if NFC Settings intent can be resolved
This CL fixes a crash on some samsung android devices where the link between ACTION_NFC_SETTINGS and the NFC settings-menu is broken. NFC settings intent is only returned from now on only if we're confident activity can be opened, to prevent an android java exception "android.content.ActivityNotFoundException". See https://developer.android.com/guide/components/intents-common Bug: 1035048, 1055216 Change-Id: Ibedd48cf9aded28def53753275747c4addaa220a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2072158Reviewed-by:Reilly Grant <reillyg@chromium.org> Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Cr-Commit-Position: refs/heads/master@{#745013}
Showing
Please register or sign in to comment