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

Commit d4e33458 authored by Han Xu's avatar Han Xu Committed by Automerger Merge Worker
Browse files

Merge "Fix wifi QR decorator not rendering" into udc-dev am: f8f3ecfb am: 32f902fa

parents 040e8e5b 32f902fa
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);