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

Commit 732de21e authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: Fix bad stability set log.

So that it shows current stability as well as new stability.

Bug: 136027762
Test: check log
Change-Id: I7b8481528c0b8e8506a3e95508c9bbef62c71d62
parent 2a9f32f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ status_t Stability::set(IBinder* binder, int32_t stability, bool log) {
    if (currentStability != Level::UNDECLARED && currentStability != stability) {
        if (log) {
            ALOGE("Interface being set with %s but it is already marked as %s.",
                stabilityString(stability).c_str(), stabilityString(stability).c_str());
                stabilityString(stability).c_str(), stabilityString(currentStability).c_str());
        }
        return BAD_TYPE;
    }