DefaultAdsSettingsRepository
class DefaultAdsSettingsRepository(preferences: AdsPreferencesDataSource, diagnostics: DiagnosticsReporter) : AdsSettingsRepository(source)
Reads and writes the ad preferences in AdsPreferencesDataSource, with the store's own default, which the ads manager and the ad views share. It reads the cold preference flows rather than the eagerly started adsEnabled, so a read failure reaches the caller as a StorageException.