power-libperfmgr: ADPF: send ADPF_FIRST_FRAME hint
To send ADPF_FIRST_FRAME hint when reportWorkDurations was called first time after stale state. Bug: 243025173 Test: PtsUiBench & CUJ Change-Id: I4377b1f549646bcf44bdf26b2657b7bc0646f9a4 Merged-In: I4377b1f549646bcf44bdf26b2657b7bc0646f9a4
This commit is contained in:
parent
cec3b97eda
commit
d2c0e46e16
@ -341,6 +341,9 @@ ndk::ScopedAStatus PowerHintSession::reportActualWorkDuration(
|
||||
|
||||
mLastUpdatedTime.store(std::chrono::steady_clock::now());
|
||||
if (isFirstFrame) {
|
||||
if (isAppSession()) {
|
||||
tryToSendPowerHint("ADPF_FIRST_FRAME");
|
||||
}
|
||||
updateUniveralBoostMode();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user