Merge "Camera: Fix potential null pointer dereference issues" into main am: c0ccfdfb67 am: 1869eb7ab0 am: d6b76cf13c am: 0d0d19853e

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2745054

Change-Id: I7a22b0f0ded1bdd35561b8d14fd5cd279482e8d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>