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

Commit 49c3936c authored by Steven Moreland's avatar Steven Moreland
Browse files

Warn about deletion of 32-bit binder IPC ABI.

No one should be using this, but if they are, we want to know so we
can help them move off of this ABI and then eventually delete this
code.

Bug: 232423610
Test: N/A
Change-Id: If8a8f77393cb2df90d1f04b1aea13e2be79f7b38
parent fc1abd71
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -100,6 +100,11 @@ static void verifyNotForked(bool forked) {

sp<ProcessState> ProcessState::init(const char *driver, bool requireDefault)
{
#ifdef BINDER_IPC_32BIT
    LOG_ALWAYS_FATAL("32-bit binder IPC is not supported for new devices starting in Android P. If "
                     "you do need to use this mode, please see b/232423610 or file an issue with "
                     "AOSP upstream as otherwise this will be removed soon.");
#endif

    if (driver == nullptr) {
        std::lock_guard<std::mutex> l(gProcessMutex);