diff options
author | Demon000 <demonsingur@gmail.com> | 2017-10-05 06:55:29 +0300 |
---|---|---|
committer | dd3boh <dade.garberi@gmail.com> | 2017-10-31 12:34:43 +0100 |
commit | 52d8adf7ce684b0fa4e3af85799e983d1d3ae34c (patch) | |
tree | 0102599b4a0f92c24794e39e9edec49d435ac94b /camera-wrapper/Android.mk | |
parent | a5a24347421901ca766d5e4aa173d327c6efd4c0 (diff) |
CameraWrapper: close native handles
Android camera framework expects camera HAL to
release native handles in case of video buffer.
Old camera HALs don't release native handles internally,
causing video recording to freeze after ~30s.
This workaround is the equivalent of
https://review.lineageos.org/#/c/165102/
Change-Id: Ie9e9abdede3dccada9e5002725a157f4960643e9
Diffstat (limited to 'camera-wrapper/Android.mk')
-rw-r--r-- | camera-wrapper/Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camera-wrapper/Android.mk b/camera-wrapper/Android.mk index bf6dccf..f26719d 100644 --- a/camera-wrapper/Android.mk +++ b/camera-wrapper/Android.mk @@ -20,6 +20,7 @@ include $(CLEAR_VARS) LOCAL_C_INCLUDES := \ framework/native/include \ + frameworks/native/include/media/openmax \ system/media/camera/include LOCAL_SRC_FILES := \ @@ -33,6 +34,7 @@ LOCAL_SHARED_LIBRARIES := \ libhidltransport \ libsensor \ libutils \ + libcutils \ android.hidl.token@1.0-utils LOCAL_STATIC_LIBRARIES := \ |