configureMediaCache function
Applies an estimated Lottie disk budget without replacing the active manager. Count/age cleanup follows CacheManager's normal deferred policy.
Implementation
void configureMediaCache({required int lottieDiskCacheBytes}) {
_log.d('Media disk cache configured '
'(lottieDiskCacheBytes=$lottieDiskCacheBytes, '
'maxObjects=${DigiaLottieCacheManager.maxObjectsForBytes(lottieDiskCacheBytes)})');
_currentLottieDiskCacheBytes = lottieDiskCacheBytes;
}