AW: ignore and log SecurityException for intents
Some apps declare a permission-guarded yet exported="true" Activity. Starting an intent to such an Activity will triggers a SecurityException. Instead of crashing, we should just ignore these intents. Chrome already handles this case, so this CL changes WebView shell and the default WebViewClient to behave similarly. This change will have no impact for apps which set their own WebViewClient, which should represent the vast majority of apps. R=torne@chromium.org Bug: 889300 Test: Manual - built a test app as described in http://b/115868439. Change-Id: Ia9ff8113d4796033661366c06e186d7bb6eb288d Reviewed-on: https://chromium-review.googlesource.com/1244547Reviewed-by:Richard Coles <torne@chromium.org> Commit-Queue: Nate Fischer <ntfschr@chromium.org> Cr-Commit-Position: refs/heads/master@{#594387}
Showing
Please register or sign in to comment