Skip to content

Commit a7e7239

Browse files
committed
Rename
1 parent 82d705b commit a7e7239

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firebase-perf/src/main/java/com/google/firebase/perf/metrics/AppStartTrace.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public class AppStartTrace implements ActivityLifecycleCallbacks, LifecycleObser
7575
private static final @NonNull Timer PERF_CLASS_LOAD_TIME = new Clock().getTime();
7676
private static final long MAX_LATENCY_BEFORE_UI_INIT = TimeUnit.MINUTES.toMicros(1);
7777

78-
private static final long MAX_BACKGROUND_THREAD_DELAY = TimeUnit.MILLISECONDS.toMicros(100);
78+
private static final long MAX_BACKGROUND_RUNNABLE_DELAY = TimeUnit.MILLISECONDS.toMicros(100);
7979

8080
// Core pool size 0 allows threads to shut down if they're idle
8181
private static final int CORE_POOL_SIZE = 0;
@@ -331,7 +331,7 @@ private void resolveIsStartedFromBackground() {
331331
}
332332

333333
if (isStartedFromBackground
334-
&& (mainThreadRunnableTime.getDurationMicros() < MAX_BACKGROUND_THREAD_DELAY)) {
334+
&& (mainThreadRunnableTime.getDurationMicros() < MAX_BACKGROUND_RUNNABLE_DELAY)) {
335335
// Reset it to false as it was executed pre-emptively.
336336
isStartedFromBackground = false;
337337
}

0 commit comments

Comments
 (0)