Loading services/core/java/com/android/server/am/ActiveServices.java +3 −1 Original line number Diff line number Diff line Loading @@ -3696,9 +3696,11 @@ public final class ActiveServices { // is not "now". Compute the time from "now" when starting the anr timer. final long anrTime = sr.getEarliestStopTypeAndTime().second + mAm.mConstants.mFgsAnrExtraWaitDuration - SystemClock.uptimeMillis(); if (android.app.Flags.introduceNewServiceOntimeoutCallback()) { mFGSAnrTimer.start(sr, anrTime); } } } private void maybeUpdateFgsTrackingLocked(ServiceRecord sr, boolean extendTimeout) { if (!sr.isFgsTimeLimited()) { Loading Loading
services/core/java/com/android/server/am/ActiveServices.java +3 −1 Original line number Diff line number Diff line Loading @@ -3696,9 +3696,11 @@ public final class ActiveServices { // is not "now". Compute the time from "now" when starting the anr timer. final long anrTime = sr.getEarliestStopTypeAndTime().second + mAm.mConstants.mFgsAnrExtraWaitDuration - SystemClock.uptimeMillis(); if (android.app.Flags.introduceNewServiceOntimeoutCallback()) { mFGSAnrTimer.start(sr, anrTime); } } } private void maybeUpdateFgsTrackingLocked(ServiceRecord sr, boolean extendTimeout) { if (!sr.isFgsTimeLimited()) { Loading