Loading packages/SettingsLib/src/com/android/settingslib/qrcode/QrDecorateView.java +0 −3 Original line number Original line Diff line number Diff line Loading @@ -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); Loading Loading
packages/SettingsLib/src/com/android/settingslib/qrcode/QrDecorateView.java +0 −3 Original line number Original line Diff line number Diff line Loading @@ -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); Loading