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

Commit c05af3b8 authored by yuxi's avatar yuxi
Browse files

[Bugfix] Fix compling error when enable LOG_REFS in Parcel.cpp

When we try to enable LOG_REFS in Parcel.cpp, we encounter a compling problem, so we try to fix it.

Change-Id: I88310752b84dd7b07751296743615d92c4436ebb
Test: manual
parent f3af176f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ static void acquire_object(const sp<ProcessState>& proc,
    switch (obj.hdr.type) {
        case BINDER_TYPE_BINDER:
            if (obj.binder) {
                LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie);
                LOG_REFS("Parcel %p acquiring reference on local %llu", who, obj.cookie);
                reinterpret_cast<IBinder*>(obj.cookie)->incStrong(who);
            }
            return;
@@ -137,7 +137,7 @@ static void release_object(const sp<ProcessState>& proc,
    switch (obj.hdr.type) {
        case BINDER_TYPE_BINDER:
            if (obj.binder) {
                LOG_REFS("Parcel %p releasing reference on local %p", who, obj.cookie);
                LOG_REFS("Parcel %p releasing reference on local %llu", who, obj.cookie);
                reinterpret_cast<IBinder*>(obj.cookie)->decStrong(who);
            }
            return;