Skip to content

Commit da8acfa

Browse files
committed
Update comment in updateAppState
1 parent 13ce733 commit da8acfa

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/session/SessionManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ public SessionManager(
7474
public void onUpdateAppState(ApplicationProcessState newAppState) {
7575
super.onUpdateAppState(newAppState);
7676
if (appStateMonitor.isColdStart()) {
77-
// We want the Session to remain unchanged if this is a cold start of the app since we already
78-
// update the PerfSession in FirebasePerfProvider#onAttachInfo().
77+
// Ignore the app state change if it's a cold start. [FirebasePerformanceSessionSubscriber]
78+
// handles any change that's needed.
7979
return;
8080
}
8181

0 commit comments

Comments
 (0)