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

Commit f86b09ea authored by Kweku Adams's avatar Kweku Adams Committed by Android (Google) Code Review
Browse files

Merge "Update callback delay when constant changes."

parents 2290e18c 87f7b335
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -16361,6 +16361,11 @@ public class BatteryStatsImpl extends BatteryStats {
            BATTERY_CHARGED_DELAY_MS = delay >= 0 ? delay : mParser.getInt(
                    KEY_BATTERY_CHARGED_DELAY_MS,
                    DEFAULT_BATTERY_CHARGED_DELAY_MS);
            if (mHandler.hasCallbacks(mDeferSetCharging)) {
                mHandler.removeCallbacks(mDeferSetCharging);
                mHandler.postDelayed(mDeferSetCharging, BATTERY_CHARGED_DELAY_MS);
            }
        }
        private void updateKernelUidReadersThrottleTime(long oldTimeMs, long newTimeMs) {