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

Commit f8f3ecfb authored by Han Xu's avatar Han Xu Committed by Android (Google) Code Review
Browse files

Merge "Fix wifi QR decorator not rendering" into udc-dev

parents 6c29630c a7f135c6
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -95,9 +95,6 @@ public class QrDecorateView extends View {
    protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
    protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
        super.onLayout(changed, left, top, right, bottom);
        super.onLayout(changed, left, top, right, bottom);


        if (!isLaidOut()) {
            return;
        }
        if (mMaskBitmap == null) {
        if (mMaskBitmap == null) {
            mMaskBitmap = Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.ARGB_8888);
            mMaskBitmap = Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.ARGB_8888);
            mMaskCanvas = new Canvas(mMaskBitmap);
            mMaskCanvas = new Canvas(mMaskBitmap);