Refactor {Communal|LowLight|Dream}SettingsRepositories to use UserAwareSecureSettingsRepository
The {Communal|LowLight|Dream}SettingsRepositories all follow the pattern of receiving the active user as param for any method that reads from settings by having the respective interactor use userInteractor.selectedUserInfo.
We have UserAwareSecureSettingsRepository for exactly that purpose, so we can use it in these classes instead.
Fixes: 416696502
Test: atest DreamSettingsRepositoryImplTest
Test: atest LowLightBehaviorCoreStartableTest
Test: atest CommunalSettingsRepositoryImplTest
Flag: EXEMPT refactor
Change-Id: I2af28190bb5d00c4b5c67c3b6a2212f460cc0d18
Loading
Please register or sign in to comment