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

Commit e78085de authored by Andy Hung's avatar Andy Hung
Browse files

Fix MonotonicFrameCounter warning log

Flag: EXEMPT Bugfix
Test: compiles
Bug: 376142634
Change-Id: Ib99cc61be61e506bf40c015218f22e0a9f43ec3d
parent 8ce52e6b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -26,9 +26,9 @@ int64_t MonotonicFrameCounter::updateAndGetMonotonicFrameCount(
        int64_t newFrameCount, int64_t newTime) {
    if (newFrameCount < 0 || newTime < 0) {
        const auto result = getLastReportedFrameCount();
        ALOGW("%s: invalid (frame, time) pair newFrameCount:%lld newFrameCount:%lld,"
        ALOGW("%s: invalid (frame, time) pair newFrameCount:%lld newTime:%lld,"
                " using %lld as frameCount",
                __func__, (long long) newFrameCount, (long long)newFrameCount,
                __func__, (long long)newFrameCount, (long long)newTime,
                (long long)result);
        return result;
    }