Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
camera: Fix crash when taking photo outside CCA
The weak pointer `camera_app_device` could be invalid outside CCA. We should check it before using it. (cherry picked from commit 018ae63) Bug: 1410771 Test: Manually Change-Id: I4d6f43f1cd0704db4fac0af18296c8a8115fdf45 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4207383 Reviewed-by: Kam Kwankajornkiet <kamchonlathorn@chromium.org> Reviewed-by: Pi-Hsun Shih <pihsun@chromium.org> Commit-Queue: Wei Lee <wtlee@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1099669} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4227371 Auto-Submit: Wei Lee <wtlee@chromium.org> Commit-Queue: Pi-Hsun Shih <pihsun@chromium.org> Cr-Commit-Position: refs/branch-heads/5481@{#1009} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information