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

Commit 8cb34fc3 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: CallRestriction: dump code

Bug: 36424585
Test: boot, check logs
Change-Id: I62c240bb6a950592ccbc4d458c18abc917f5ed11
parent 7aaa2548
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -632,11 +632,11 @@ status_t IPCThreadState::transact(int32_t handle,
    if ((flags & TF_ONE_WAY) == 0) {
        if (UNLIKELY(mCallRestriction != ProcessState::CallRestriction::NONE)) {
            if (mCallRestriction == ProcessState::CallRestriction::ERROR_IF_NOT_ONEWAY) {
                ALOGE("Process making non-oneway call but is restricted.");
                ALOGE("Process making non-oneway call (code: %u) but is restricted.", code);
                CallStack::logStack("non-oneway call", CallStack::getCurrent(10).get(),
                    ANDROID_LOG_ERROR);
            } else /* FATAL_IF_NOT_ONEWAY */ {
                LOG_ALWAYS_FATAL("Process may not make oneway calls.");
                LOG_ALWAYS_FATAL("Process may not make oneway calls (code: %u).", code);
            }
        }