diff options
| author | Tao Bai <michaelbai@google.com> | 2017-01-30 16:54:28 -0800 |
|---|---|---|
| committer | Tao Bai <michaelbai@google.com> | 2017-01-31 11:02:08 -0800 |
| commit | dd264f69ed8cf5e58748a34ed50282db0d082b69 (patch) | |
| tree | df865faeba5df444d119bb3205ca78962807d298 /core/java/android/webkit/WebViewClient.java | |
| parent | 04b926a68b85d9b93f7de2647f9f4770532b2e0f (diff) | |
WebView: Revise the behavior of crash handle API
To make backward compatible, kills application when render process
is killed by system.
Bug: 30824898
Test: No test, this is document revision.
Change-Id: I12862ee9ed1986ec274fe627782542e8d8414856
Diffstat (limited to 'core/java/android/webkit/WebViewClient.java')
| -rw-r--r-- | core/java/android/webkit/WebViewClient.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/webkit/WebViewClient.java b/core/java/android/webkit/WebViewClient.java index 8703468a74a7..0a73e17dd6e4 100644 --- a/core/java/android/webkit/WebViewClient.java +++ b/core/java/android/webkit/WebViewClient.java @@ -488,7 +488,8 @@ public class WebViewClient { * @param view The WebView which needs to be cleaned up. * @param detail the reason why it exited. * @return true if the host application handled the situation that process has - * exited, otherwise, application will crash. + * exited, otherwise, application will crash if render process crashed, + * or be killed if render process was killed by the system. */ public boolean onRenderProcessGone(WebView view, RenderProcessGoneDetail detail) { return false; |
