From 6bdb7f5aa759393c719acde800f6b45a7f687bda Mon Sep 17 00:00:00 2001 From: Nikhil Punathil Date: Tue, 22 Aug 2017 01:07:52 +0530 Subject: shinano-common: move some more common shims to msm8974-common Change-Id: I7fc609323254b5e164440444293fa4f23aad929b Signed-off-by: Nikhil Punathil --- libshims/libsonycamera.cpp | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 libshims/libsonycamera.cpp (limited to 'libshims/libsonycamera.cpp') diff --git a/libshims/libsonycamera.cpp b/libshims/libsonycamera.cpp deleted file mode 100644 index 8d759fe..0000000 --- a/libshims/libsonycamera.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include -#include -#include -#include - -// Unlock all Sony parameters -extern "C" { - int property_get(const char * key, char * value, const char * default_value) { - if (strcmp("ro.build.type", key) == 0) { - strcpy(value, "eng"); - return 3; - } - - return ((int( * )(const char * , char *, const char * ))(dlsym((void * ) - 1, "property_get")))(key, value, default_value); - } -} \ No newline at end of file -- cgit v1.2.3