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

Commit 7e12f3e9 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix negative freezer timeout" into sc-dev

parents 373c6933 b6691f19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -838,7 +838,7 @@ public final class CachedAppOptimizer {
                KEY_FREEZER_DEBOUNCE_TIMEOUT, DEFAULT_FREEZER_DEBOUNCE_TIMEOUT);

        if (mFreezerDebounceTimeout < 0) {
            mFullDeltaRssThrottleKb = DEFAULT_FREEZER_DEBOUNCE_TIMEOUT;
            mFreezerDebounceTimeout = DEFAULT_FREEZER_DEBOUNCE_TIMEOUT;
        }
    }

+1 −1
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ final class ProcessCachedOptimizerRecord {
        return mFreezeExempt;
    }

    @GuardedBy("mPreLock")
    @GuardedBy("mProcLock")
    void setFreezeExempt(boolean exempt) {
        mFreezeExempt = exempt;
    }