File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
firebase-perf/src/main/java/com/google/firebase/perf/application Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ public void unregisterForAppState(WeakReference<AppStateCallback> subscriber) {
290
290
* @param subscriber the {@link AppColdStartCallback} instance.
291
291
*/
292
292
public void registerForAppColdStart (AppColdStartCallback subscriber ) {
293
- synchronized (appStateSubscribers ) {
293
+ synchronized (appColdStartSubscribers ) {
294
294
appColdStartSubscribers .add (subscriber );
295
295
}
296
296
}
@@ -315,7 +315,7 @@ private void updateAppState(ApplicationProcessState newState) {
315
315
316
316
/** Send cold start update to registered subscribers. */
317
317
private void sendAppColdStartUpdate () {
318
- synchronized (appStateSubscribers ) {
318
+ synchronized (appColdStartSubscribers ) {
319
319
for (Iterator <AppColdStartCallback > i = appColdStartSubscribers .iterator (); i .hasNext (); ) {
320
320
AppColdStartCallback callback = i .next ();
321
321
if (callback != null ) {
You can’t perform that action at this time.
0 commit comments