Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 694cd471 authored by Jayant Chowdhary's avatar Jayant Chowdhary
Browse files

camera2 ndk: Fix error code passed on ACameraDevice_ErrorStateCallback.



The error code passed to the camera2 ndk while calling the
ACameraDevice_ErrorStateCallback was the AIDL errorCode passed through
the ICameraDeviceCallbacks::onDeviceError() callback. These error codes
do not map directly, to the ones promised through the ndk in
NdkCameraDevice.h. These need to be fixed to appropriate ndk error code mappings.

Bug: 117833501

Test: GCA (sanity)
Test: CTS Native camera2 tests (sanity)

Change-Id: I65a80e4f2be5a3317a008bf0a71578e31fb45d62
Signed-off-by: default avatarJayant Chowdhary <jchowdhary@google.com>
parent 1ef73503
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment