sanders: Update camera shim

03-13 07:33:48.860  1512  1512 E HAL     : load: module=/system/lib/hw/camera.msm8953.so
03-13 07:33:48.860  1512  1512 E HAL     : dlopen failed: cannot locate symbol "_Z35eglQueryStringImplementationANDROIDPvi" referenced by "/system/vendor/lib/libguy.so"...
This commit is contained in:
jhenrique09
2017-12-28 16:16:35 -02:00
committed by therootlord
parent f3f0b0151d
commit 5708302065
2 changed files with 12 additions and 2 deletions

View File

@@ -40,9 +40,10 @@ LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := DisplayEventReceiver.c
LOCAL_SRC_FILES := camera_hal.cpp
LOCAL_MODULE := libshim_camera_hal
LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES := libgui
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)

View File

@@ -14,6 +14,15 @@
* limitations under the License.
*/
#include <EGL/egl.h>
#include <EGL/eglext.h>
/* TODO: Actually provide implementations for these function! */
void _ZN7android20DisplayEventReceiverC1Ev() {}
extern "C" void _ZN7android20DisplayEventReceiverC1Ev() {}
EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint name);
extern "C" void _Z35eglQueryStringImplementationANDROIDPvi(EGLDisplay dpy, EGLint name){
eglQueryStringImplementationANDROID(dpy, name);
}