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

Commit 15760159 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 5413 into donut

* changes:
  Need to write the correct float math.
parents eb3ec64a 2b2e9d91
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1562,7 +1562,7 @@ final class WebViewCore {

        // adjust the default scale to match the density
        if (WebView.DEFAULT_SCALE_PERCENT != 100) {
            float adjust = WebView.DEFAULT_SCALE_PERCENT / 100;
            float adjust = (float) WebView.DEFAULT_SCALE_PERCENT / 100.0f;
            if (mViewportInitialScale > 0) {
                mViewportInitialScale *= adjust;
            }