Merge "Fix negative freezer timeout" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7e12f3e9d5
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -171,7 +171,7 @@ final class ProcessCachedOptimizerRecord {
|
||||
return mFreezeExempt;
|
||||
}
|
||||
|
||||
@GuardedBy("mPreLock")
|
||||
@GuardedBy("mProcLock")
|
||||
void setFreezeExempt(boolean exempt) {
|
||||
mFreezeExempt = exempt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user