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

Commit a8bd1bb3 authored by Grace Kloba's avatar Grace Kloba Committed by Android Git Automerger
Browse files

am be2059b0: am 19c1ea3b: am eb643f26: Merge "Remove the shadow under url bar." into froyo

parents 26f7a724 be2059b0
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -3101,12 +3101,12 @@ public class WebView extends AbsoluteLayout
        canvas.restoreToCount(saveCount);

        // Now draw the shadow.
        if (mTitleBar != null) {
            int y = mScrollY + getVisibleTitleHeight();
        int titleH = getVisibleTitleHeight();
        if (mTitleBar != null && titleH == 0) {
            int height = (int) (5f * getContext().getResources()
                    .getDisplayMetrics().density);
            mTitleShadow.setBounds(mScrollX, y, mScrollX + getWidth(),
                    y + height);
            mTitleShadow.setBounds(mScrollX, mScrollY, mScrollX + getWidth(),
                    mScrollY + height);
            mTitleShadow.draw(canvas);
        }
        if (AUTO_REDRAW_HACK && mAutoRedraw) {