We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddfed7d commit 4499947Copy full SHA for 4499947
firebase-perf/src/test/java/com/google/firebase/perf/FirebasePerformanceTest.java
@@ -549,6 +549,9 @@ private FirebasePerformance initializeFirebasePerformancePreferences(
549
DeviceCacheManager deviceCacheManager = new DeviceCacheManager(fakeDirectExecutorService);
550
deviceCacheManager.setContext(ApplicationProvider.getApplicationContext());
551
deviceCacheManager.setValue(Constants.ENABLE_DISABLE, sharedPreferencesEnabledDisabledKey);
552
+ } else {
553
+ DeviceCacheManager deviceCacheManager = new DeviceCacheManager(fakeDirectExecutorService);
554
+ deviceCacheManager.setContext(ApplicationProvider.getApplicationContext());
555
}
556
557
Bundle bundle = new Bundle();
0 commit comments