File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5580,15 +5580,15 @@ public void onWindowFocusChanged(boolean hasWindowFocus) {
55805580 setActive (hasWindowFocus );
55815581 if (hasWindowFocus ) {
55825582 JWebCoreJavaBridge .setActiveWebView (this );
5583- if (mPictureUpdatePausedForFocusChange ) {
5583+ if (mPictureUpdatePausedForFocusChange && mNativeClass != 0 ) {
55845584 WebViewCore .resumeUpdatePicture (mWebViewCore );
55855585 nativeSetIsScrolling (false );
55865586 mPictureUpdatePausedForFocusChange = false ;
55875587 }
55885588 } else {
55895589 JWebCoreJavaBridge .removeActiveWebView (this );
55905590 final WebSettings settings = getSettings ();
5591- if (settings != null && settings .enableSmoothTransition () &&
5591+ if (settings != null && settings .enableSmoothTransition () && mNativeClass != 0 &&
55925592 mWebViewCore != null && !WebViewCore .isUpdatePicturePaused (mWebViewCore )) {
55935593 WebViewCore .pauseUpdatePicture (mWebViewCore );
55945594 nativeSetIsScrolling (true );
You can’t perform that action at this time.
0 commit comments