From: Stricted Date: Sat, 28 Apr 2018 20:05:11 +0000 (+0200) Subject: add temporary camera shim to prevent systemui crashes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ec74ffdda30488ba34ecb81d2fe17ddf9c8a2ab3;p=GitHub%2Fmt8127%2Fandroid_device_alcatel_ttab.git add temporary camera shim to prevent systemui crashes Change-Id: I83df99b51c7e701b71a8255782d8d8391011083a --- diff --git a/libmtk_symbols/mtk_cam.cpp b/libmtk_symbols/mtk_cam.cpp index 4fcc271..8ac89e2 100644 --- a/libmtk_symbols/mtk_cam.cpp +++ b/libmtk_symbols/mtk_cam.cpp @@ -45,4 +45,9 @@ extern "C" { _ZN7android13SensorManager16createEventQueueENS_7String8Ei(retVal, sensorMgr, &string, 0); _ZN7android7String8D1Ev(&string); } + + /* FIXME: temporary to prevent systemui crash */ + int _ZN7android14CameraMetadata14getTagFromNameEPKcPKNS_19VendorTagDescriptorEPj() { + return 0; + } }