File tree Expand file tree Collapse file tree
firebase-perf/src/main/java/com/google/firebase/perf/application Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ public void unregisterForAppState(WeakReference<AppStateCallback> subscriber) {
290290 * @param subscriber the {@link AppColdStartCallback} instance.
291291 */
292292 public void registerForAppColdStart (AppColdStartCallback subscriber ) {
293- synchronized (appStateSubscribers ) {
293+ synchronized (appColdStartSubscribers ) {
294294 appColdStartSubscribers .add (subscriber );
295295 }
296296 }
@@ -315,7 +315,7 @@ private void updateAppState(ApplicationProcessState newState) {
315315
316316 /** Send cold start update to registered subscribers. */
317317 private void sendAppColdStartUpdate () {
318- synchronized (appStateSubscribers ) {
318+ synchronized (appColdStartSubscribers ) {
319319 for (Iterator <AppColdStartCallback > i = appColdStartSubscribers .iterator (); i .hasNext (); ) {
320320 AppColdStartCallback callback = i .next ();
321321 if (callback != null ) {
You can’t perform that action at this time.
0 commit comments