Merge "Camera NDK: fix headers"

am: fa87fc3b31

Change-Id: Ic72dfb8129a20ae1feb319e463b8713d2e97c98e
gugelfrei
Yin-Chia Yeh 6 years ago committed by android-build-merger
commit 9addb6e1b1

@ -33,6 +33,7 @@
* Do not #include files that aren't part of the NDK.
*/
#include <sys/cdefs.h>
#include <stdbool.h>
#include <android/native_window.h>
#include "NdkCameraError.h"

@ -152,6 +152,11 @@ typedef struct ACameraDevice_StateCallbacks {
ACameraDevice_ErrorStateCallback onError;
} ACameraDevice_StateCallbacks;
/**
* For backward compatiblity.
*/
typedef ACameraDevice_StateCallbacks ACameraDevice_stateCallbacks;
/**
* Close the connection and free this ACameraDevice synchronously. Access to the ACameraDevice
* after calling this method will cause a crash.

Loading…
Cancel
Save