Check mWebViewCore to prevent potential NPE.
Bug:2532493 Change-Id: I917c57dced8638f36252638bb9814e26cdbc2768
This commit is contained in:
@@ -2618,6 +2618,9 @@ public class WebView extends AbsoluteLayout
|
||||
* @hide
|
||||
*/
|
||||
public void notifyFindDialogDismissed() {
|
||||
if (mWebViewCore == null) {
|
||||
return;
|
||||
}
|
||||
clearMatches();
|
||||
setFindIsUp(false);
|
||||
recordNewContentSize(mContentWidth, mContentHeight - mFindHeight,
|
||||
|
||||
Reference in New Issue
Block a user