Merge "Fix wifi QR decorator not rendering" into udc-dev am: f8f3ecfb94 am: 32f902fa86

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23050248

Change-Id: I38d3644024c39a71a8b333801aabb4aa2133e112
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Han Xu
2023-05-08 14:15:49 +00:00
committed by Automerger Merge Worker

View File

@@ -95,9 +95,6 @@ public class QrDecorateView extends View {
protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
super.onLayout(changed, left, top, right, bottom);
if (!isLaidOut()) {
return;
}
if (mMaskBitmap == null) {
mMaskBitmap = Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.ARGB_8888);
mMaskCanvas = new Canvas(mMaskBitmap);