File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
firebase-perf/src/main/java/com/google/firebase/perf/config Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,9 @@ private boolean getIsSdkEnabled() {
234
234
235
235
Boolean newValue = rcValue .get ();
236
236
// b. Only cache and return this value if it is different from the current value.
237
- if (deviceCacheValue == null || !deviceCacheValue .isAvailable () || deviceCacheValue .get () != newValue ) {
237
+ if (deviceCacheValue == null
238
+ || !deviceCacheValue .isAvailable ()
239
+ || deviceCacheValue .get () != newValue ) {
238
240
deviceCacheManager .setValue (config .getDeviceCacheFlag (), newValue );
239
241
}
240
242
@@ -270,7 +272,9 @@ private boolean getIsSdkVersionDisabled() {
270
272
// Do not check FRC last fetch status because it is the most recent value device can get.
271
273
String newValue = rcValue .get ();
272
274
// Only cache and return this value if it is different from the current value.
273
- if (deviceCacheValue == null || !deviceCacheValue .isAvailable () || !deviceCacheValue .get ().equals (newValue )) {
275
+ if (deviceCacheValue == null
276
+ || !deviceCacheValue .isAvailable ()
277
+ || !deviceCacheValue .get ().equals (newValue )) {
274
278
deviceCacheManager .setValue (config .getDeviceCacheFlag (), newValue );
275
279
}
276
280
return isFireperfSdkVersionInList (newValue );
You can’t perform that action at this time.
0 commit comments