summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupData.cpp
diff options
context:
space:
mode:
author Shuzhen Wang <shuzhenwang@google.com> 2023-08-27 23:13:23 -0700
committer Shuzhen Wang <shuzhenwang@google.com> 2023-08-29 19:37:01 +0000
commit7abd586ce387f2074024abbb1e387a860b57e5b0 (patch)
treedd90b6cf21f7b087857fcf13b795349511cbb32d /libs/androidfw/BackupData.cpp
parentccb4330c5a5414b4da25935aded376c45403bef6 (diff)
Camera: Fix null pointer exception in onResultReceived
It's possible that a pending request is removed from CaptureCallbackMap before its result is received. In that case, the callback holder will be null. And we should not dereference the null pointer. A minor code cleanup is also made. Test: Camera CTS Bug: 295066682 Change-Id: I70b04ac4bb4bd4c5786677fd2117aa15eafafef6
Diffstat (limited to 'libs/androidfw/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions