am f9202718: Merge "Protect against focus changes after .destroy()" into jb-mr1-dev
* commit 'f920271828f654dec2a72240e73a940247f25315': Protect against focus changes after .destroy()
This commit is contained in:
@@ -6987,6 +6987,8 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
|
||||
|
||||
@Override
|
||||
public boolean requestFocus(int direction, Rect previouslyFocusedRect) {
|
||||
// Check if we are destroyed
|
||||
if (mWebViewCore == null) return false;
|
||||
// FIXME: If a subwindow is showing find, and the user touches the
|
||||
// background window, it can steal focus.
|
||||
if (mFindIsUp) return false;
|
||||
|
||||
Reference in New Issue
Block a user