diff options
author | 2019-04-02 14:48:21 -0700 | |
---|---|---|
committer | 2019-04-02 14:53:29 -0700 | |
commit | f1cf11f1a4d5255554b49c6b299070676e53b72f (patch) | |
tree | c24e36782b4f1b07082b338237c8ff064c138703 | |
parent | a9ed1a6486545ffc5bffca561d6f8991e7d5a578 (diff) |
libbinder: remove old functions
These symbols started returning errors in 2014. All code should
be updated by now.
Bug: 129785390
Test: search all prebuilts for this symbol, only shows up in
VNDK snapshots and libunwindstack test binaries
Change-Id: I7fcd56efd5dd927b09832171fdc5c1b8905f2b9f
-rw-r--r-- | libs/binder/IInterface.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libs/binder/IInterface.cpp b/libs/binder/IInterface.cpp index 6b7729186e..59d51ed94a 100644 --- a/libs/binder/IInterface.cpp +++ b/libs/binder/IInterface.cpp @@ -47,21 +47,3 @@ sp<IBinder> IInterface::asBinder(const sp<IInterface>& iface) // --------------------------------------------------------------------------- }; // namespace android - -extern "C" { - -void _ZN7android10IInterface8asBinderEv(void *retval, void* self) { - ALOGW("deprecated asBinder call, please update your code"); - //ALOGI("self: %p, retval: %p", self, retval); - android::sp<android::IBinder> *ret = new(retval) android::sp<android::IBinder>; - *ret = android::IInterface::asBinder((android::IInterface*)self); -} - -void _ZNK7android10IInterface8asBinderEv(void *retval, void *self) { - ALOGW("deprecated asBinder call, please update your code"); - //ALOGI("self: %p, retval: %p", self, retval); - android::sp<android::IBinder> *ret = new(retval) android::sp<android::IBinder>; - *ret = android::IInterface::asBinder((android::IInterface*)self); -} - -} // extern "C" |