add temporary camera shim to prevent systemui crashes
authorStricted <info@stricted.net>
Sat, 28 Apr 2018 20:05:11 +0000 (22:05 +0200)
committerStricted <info@stricted.net>
Sat, 28 Apr 2018 20:05:11 +0000 (22:05 +0200)
Change-Id: I83df99b51c7e701b71a8255782d8d8391011083a

libmtk_symbols/mtk_cam.cpp

index 4fcc271a1b169cf20653d98d1274fdf1c83474d9..8ac89e2f6a60a9cc724531901cd704d474b2a02b 100644 (file)
@@ -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;
+       }
 }