ContentCapture: Suppress platform exception
Framework has a bug which causes a exception in a race condition, the exception make the app crash. This patch catches this specific exception to prevent crash. Adds a new set of tests for NotificationTask, its subclasses and PlatformAPIWrapper to verify the capture exception working correctly. Bug: 1131430 Change-Id: Ia6ef93c47421700c0e52b1de267c6be00d0dd51f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521224Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by:
Changwan Ryu <changwan@chromium.org> Commit-Queue: Michael Bai <michaelbai@chromium.org> Cr-Commit-Position: refs/heads/master@{#826020}
Showing
This diff is collapsed.
Please register or sign in to comment