Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1cf11f1 authored by Steven Moreland's avatar Steven Moreland
Browse files

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
parent a9ed1a64
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -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"