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

Commit eaeed1b4 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-12734571-L83800030008165570.
SPARSE_CHANGE: Icfeec0f6c5f32608054f623e53437b9d79e5bd6a

Change-Id: Id8f61afaf20771f8997ef1a5500385da6e1f7156
parents 7722a45a 835e7c23
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;