GCH: Don't return OK when CreateCameraProviderHwl() return null.

CreateCameraProviderHwl() may return nullptr when there's an init
error and the caller assumes that the pointer is non-null when
on OK status is returned.

Based on the logs in the bug, these crashes seem to be triggered
on prototype boards with missing or unplugged camera daughter
boards.

Bug: 218839766
Test: presubmit
Change-Id: I6f9a0c065f404fc777e9993774044a2e93ec7678
1 file changed
tree: 1d6272794231602de7e600c288b42dd53e4e92ad
  1. common/
  2. devices/
  3. .clang-format
  4. Android.bp
  5. METADATA
  6. OWNERS
  7. PREUPLOAD.cfg