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

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

Merge "Cancel previous cutoffs."

parents 6c47b0b3 99882bc4
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2171,7 +2171,7 @@ public final class QuotaController extends StateController {
                    }
                    scheduleCutoff();
                } else if (mRegularJobTimer && priorityLowered) {
                    scheduleCutoff();
                    rescheduleCutoff();
                }
            }
        }
@@ -2207,7 +2207,7 @@ public final class QuotaController extends StateController {
                                mRunningBgJobs.valueAt(i).getEffectivePriority());
                    }
                    if (mLowestPriority != oldPriority) {
                        scheduleCutoff();
                        rescheduleCutoff();
                    }
                }
            }
@@ -2707,7 +2707,7 @@ public final class QuotaController extends StateController {
                            if (DEBUG) {
                                Slog.d(TAG, pkg + " had early REACHED_QUOTA message");
                            }
                            mPkgTimers.get(pkg.userId, pkg.packageName).scheduleCutoff();
                            mPkgTimers.get(pkg.userId, pkg.packageName).rescheduleCutoff();
                        }
                        break;
                    }
@@ -2729,7 +2729,7 @@ public final class QuotaController extends StateController {
                            if (DEBUG) {
                                Slog.d(TAG, pkg + " had early REACHED_EJ_QUOTA message");
                            }
                            mEJPkgTimers.get(pkg.userId, pkg.packageName).scheduleCutoff();
                            mEJPkgTimers.get(pkg.userId, pkg.packageName).rescheduleCutoff();
                        }
                        break;
                    }