Skip to content
Commit 173f30ed authored by Bill Lin's avatar Bill Lin
Browse files

Add NPE check in CameraTransitionCallback

CameraManager.AvailabilityCallback will notifyCameraInactive()
at initial stage, and cause NPE when mCutoutViews is NULL

Initialize mCutoutView at early stage

Bug: 151706640
Test: manual boot device
Test atest SystemUITests

Change-Id: I2008342d15bb589f85bb99fcc35ede96ef9678bd
parent 8888ec91
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment