summaryrefslogtreecommitdiff
path: root/libshims/miwatermark.cpp
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2019-09-01 22:43:29 +0200
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:53 +0300
commit5074fd792827b9f01c63da3a53fe29c0a9a21dc0 (patch)
treecedc833f9735895d39bf8a8df10a32a57bf1d4d2 /libshims/miwatermark.cpp
parente9a9d460810453ba43c04dae8633f6e50e9fd9b9 (diff)
sdm660-common: Nuke libMiWatermark
* This lib is creating troubles on android 10 requiring old libs in vendor * Other than that, it's the only culprit for vndk runtime being kept disabled * Nuke this lib via a empty shim providing the symbols to the camera hal Change-Id: Ia844e973299d3e1be0a37473e76325be1828415d
Diffstat (limited to 'libshims/miwatermark.cpp')
-rw-r--r--libshims/miwatermark.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/libshims/miwatermark.cpp b/libshims/miwatermark.cpp
new file mode 100644
index 0000000..b2daf37
--- /dev/null
+++ b/libshims/miwatermark.cpp
@@ -0,0 +1,10 @@
+#include <stdint.h>
+
+namespace android {
+ extern "C" void miwatermark_age() {}
+ extern "C" void miwatermark_deinit() {}
+ extern "C" void miwatermark_dualcamera() {}
+ extern "C" void miwatermark_init() {}
+ extern "C" void miwatermark_score() {}
+ extern "C" void miwatermark_time() {}
+}