@@ -59,7 +59,7 @@ public class RemoteConfigManager {
5959 private final DeviceCacheManager cache ;
6060 private final ConcurrentHashMap <String , FirebaseRemoteConfigValue > allRcConfigMap ;
6161 private final Executor executor ;
62- private final long appStartConfigFetchDelayInMs ;
62+ private final long remoteConfigFetchDelayInMs ;
6363 private long firebaseRemoteConfigLastFetchTimestampMs = FETCH_NEVER_HAPPENED_TIMESTAMP_MS ;
6464
6565 @ Nullable private Provider <RemoteConfigComponent > firebaseRemoteConfigProvider ;
@@ -85,15 +85,15 @@ private RemoteConfigManager() {
8585 DeviceCacheManager cache ,
8686 Executor executor ,
8787 FirebaseRemoteConfig firebaseRemoteConfig ,
88- long appStartConfigFetchDelayInMs ) {
88+ long remoteConfigFetchDelayInMs ) {
8989 this .cache = cache ;
9090 this .executor = executor ;
9191 this .firebaseRemoteConfig = firebaseRemoteConfig ;
9292 this .allRcConfigMap =
9393 firebaseRemoteConfig == null
9494 ? new ConcurrentHashMap <>()
9595 : new ConcurrentHashMap <>(firebaseRemoteConfig .getAll ());
96- this .appStartConfigFetchDelayInMs = appStartConfigFetchDelayInMs ;
96+ this .remoteConfigFetchDelayInMs = remoteConfigFetchDelayInMs ;
9797 }
9898
9999 /** Gets the singleton instance. */
@@ -394,7 +394,7 @@ private boolean shouldFetchAndActivateRemoteConfigValues() {
394394 * @return true if the random delay has elapsed, false otherwise
395395 */
396396 private boolean hasRemoteConfigFetchDelayElapsed (long currentTimeInMs ) {
397- return (currentTimeInMs - rcmInitTimestamp ) >= appStartConfigFetchDelayInMs ;
397+ return (currentTimeInMs - rcmInitTimestamp ) >= remoteConfigFetchDelayInMs ;
398398 }
399399
400400 // We want to fetch once when the app starts and every 12 hours after that.
0 commit comments