Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1892e0c authored by Mangesh Ghiware's avatar Mangesh Ghiware Committed by Android Git Automerger
Browse files

am f8e99204: am b215726a: Merge "Remove transient and unnecessary update...

am f8e99204: am b215726a: Merge "Remove transient and unnecessary update density message." into jb-dev

* commit 'f8e99204':
  Remove transient and unnecessary update density message.
parents b85afc25 f8e99204
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2551,6 +2551,11 @@ public final class WebViewCore {
            adjust = (float) mContext.getResources().getDisplayMetrics().densityDpi
                    / mViewportDensityDpi;
        }
        // Remove any update density messages in flight.
        // If the density is indeed different from WebView's default scale,
        // a new message will be queued.
        mWebViewClassic.mPrivateHandler.removeMessages(
                WebViewClassic.UPDATE_ZOOM_DENSITY);
        if (adjust != mWebViewClassic.getDefaultZoomScale()) {
            Message.obtain(mWebViewClassic.mPrivateHandler,
                    WebViewClassic.UPDATE_ZOOM_DENSITY, adjust).sendToTarget();