[WebNFC] Notify client once when error happens
Instead of calling `mClient.onError(error)` as many times as the number of watchers, this CL makes sure we only call it once as the client takes care of dispatching to all readers. Bug: 520391 Change-Id: I82f2cf985d86e824c8a8cb9cbec85b7016334484 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2557018Reviewed-by:Rijubrata Bhaumik <rijubrata.bhaumik@intel.com> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Cr-Commit-Position: refs/heads/master@{#832234}
Showing
Please register or sign in to comment