diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-05-10 23:09:45 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-05-10 23:09:45 +0200 |
commit | 3c6491d3f3d7bebebb063d7b74045d802970a97f (patch) | |
tree | 3a7ba2d9eb3b2ba04d9034b5c7dc0cc7a9f24a40 /ril/libsecril-compat/secril-compat.c | |
parent | 6f8ddeccfe8e92752da41f7287996bcd22e68211 (diff) | |
download | device_samsung_tuna-3c6491d3f3d7bebebb063d7b74045d802970a97f.zip device_samsung_tuna-3c6491d3f3d7bebebb063d7b74045d802970a97f.tar.gz device_samsung_tuna-3c6491d3f3d7bebebb063d7b74045d802970a97f.tar.bz2 |
Remove code for interfacing with the proprietary RIL
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'ril/libsecril-compat/secril-compat.c')
-rw-r--r-- | ril/libsecril-compat/secril-compat.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/ril/libsecril-compat/secril-compat.c b/ril/libsecril-compat/secril-compat.c deleted file mode 100644 index 1a95302..0000000 --- a/ril/libsecril-compat/secril-compat.c +++ /dev/null @@ -1,26 +0,0 @@ -#define LOG_TAG "secril-compat" -#include <sys/types.h> -#include <utils/Log.h> - -/** - * With the switch to C++11 by default, char16_t became a unique type, - * rather than basically just a typedef of uint16_t. As a result, the - * compiler now mangles the symbol for writeString16 differently. Our - * RIL references the old symbol of course, not the new one. - */ -uintptr_t _ZN7android6Parcel13writeString16EPKDsj(void *instance, void *str, size_t len); -uintptr_t _ZN7android6Parcel13writeString16EPKtj(void *instance, void *str, size_t len) -{ - return _ZN7android6Parcel13writeString16EPKDsj(instance, str, len); -} - -/** - * toroplus's RIL has the ability to take a screenshot. WTF? - * Supposedly some vendor/testing/factory crap. - * There's no way in hell that codepath should be hit under - * any legitimate circumstances. Just define the symbol. - */ -void _ZN7android16ScreenshotClient6updateEv() -{ - ALOGE("%s: CALLED! SHOULD NOT HAPPEN!!", __func__); -} |