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

Commit 7bbdbdff authored by Matt Buckley's avatar Matt Buckley Committed by Xiang Wang
Browse files

Fix spike method calling

Bug: 367803904
Change-Id: I82136255f9d8ce8d7bc80b259853822a0860c53a
Test: atest PerformanceHintManagerTest
Flag: EXEMPT ndk
parent 76c22b33
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1170,7 +1170,7 @@ int APerformanceHint_notifyWorkloadSpike(APerformanceHintSession* session, bool
    if (!useNewLoadHintBehavior()) {
        return ENOTSUP;
    }
    return session->notifyWorkloadReset(cpu, gpu, debugName);
    return session->notifyWorkloadSpike(cpu, gpu, debugName);
}

int APerformanceHint_setNativeSurfaces(APerformanceHintSession* session,