commit | 173f30edefdc5a025fcefa0b265bb2b9841bae99 | [log] [tgz] |
---|---|---|
author | Bill Lin <lbill@google.com> | Tue Mar 17 19:06:51 2020 +0800 |
committer | Bill Lin <lbill@google.com> | Wed Mar 18 16:42:54 2020 +0800 |
tree | c152f9e4b7fe5743207607757e04ed9830b9d10d | |
parent | 8888ec9144a5a79e8e877fb19cbbe6cc3cc4dc76 [diff] |
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