Skip to content

Commit 3bf1738

Browse files
committed
Fix the right lookup for checking if data collection is enabled.
1 parent bf54414 commit 3bf1738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebase-perf/src/main/java/com/google/firebase/perf/FirebasePerformance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public void onSessionChanged(@NonNull SessionDetails sessionDetails) {
215215

216216
@Override
217217
public boolean isDataCollectionEnabled() {
218-
return isDataCollectionEnabled();
218+
return configResolver.isPerformanceMonitoringEnabled();
219219
}
220220

221221
@NonNull

0 commit comments

Comments
 (0)