Merge "Add NPE check in CameraTransitionCallback" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-03-18 21:06:13 +00:00
committed by Android (Google) Code Review

View File

@@ -122,7 +122,7 @@ public class ScreenDecorations extends SystemUI implements Tunable {
protected int mRoundedDefaultBottom; protected int mRoundedDefaultBottom;
@VisibleForTesting @VisibleForTesting
protected View[] mOverlays; protected View[] mOverlays;
private DisplayCutoutView[] mCutoutViews; private DisplayCutoutView[] mCutoutViews = new DisplayCutoutView[BOUNDS_POSITION_LENGTH];
private float mDensity; private float mDensity;
private WindowManager mWindowManager; private WindowManager mWindowManager;
private int mRotation; private int mRotation;