summaryrefslogtreecommitdiff
path: root/camera/common/1.0/default/CameraModule.cpp
diff options
context:
space:
mode:
authorMichael Butler <butlermichael@google.com>2021-02-09 15:36:11 -0800
committerMichael Butler <butlermichael@google.com>2021-02-19 17:34:32 -0800
commit68b6926e3c936f31e6dbec96ffb88a18d2312f27 (patch)
treed9702bb53826e16a0d16bfd64917718a9b9c3577 /camera/common/1.0/default/CameraModule.cpp
parent8548f574eec2fd65aa56c5fbbcb01b78dfb07cc9 (diff)
Make NNAPI countNumberOfConsumers return GeneralResult -- hal
Previously, countNumberOfConsumers would trigger a CHECK if the input was invalid. This CL makes countNumberOfConsumers gracefully fail on errors, instead returning the error through the GeneralResult. Bug: N/A Test: mma Change-Id: Iee54f87768e52fdf701c22d94083c053b881733d Merged-In: Iee54f87768e52fdf701c22d94083c053b881733d (cherry picked from commit c4d98007fd2ff50031b270801274ee4c498afd87)
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions