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

Commit 00c15ceb authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Merge cherrypicks of ['googleplex-android-review.googlesource.com/30716190']...

Merge cherrypicks of ['googleplex-android-review.googlesource.com/30716190'] into sparse-12748816-L42100030008189202.
SPARSE_CHANGE: Icfeec0f6c5f32608054f623e53437b9d79e5bd6a

Change-Id: Ia851ec0e25f51d15b2632037b511acbd7637cf7f
parents 7722a45a 6ae1d364
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -328,7 +328,7 @@ APerformanceHintManager* APerformanceHintManager::create(std::shared_ptr<IHintMa

bool APerformanceHintManager::canSendLoadHints(std::vector<hal::SessionHint>& hints, int64_t now) {
    mHintBudget =
            std::max(kMaxLoadHintsPerInterval,
            std::min(kMaxLoadHintsPerInterval,
                     mHintBudget +
                             static_cast<double>(now - mLastBudgetReplenish) * kReplenishRate);
    mLastBudgetReplenish = now;