Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9257174a authored by brycelee's avatar brycelee
Browse files

Resolve missing whenToDreamSettings.

This changelist introduces a helper method that can be used
to restrict the whenToDream setting to a set of known values
(usually those presented in settings ui). If the current
setting is not found, dreams are disabled and whenToDream
is set to the default if said value is in the provided list.

Test: atest DreamBackendTest
Bug: 419323985
Flag: com.android.settings.flags.resolve_missing_when_to_dream
Change-Id: Ic234452a5f280ae2cb1ad0e336f343d807523e72
parent 24645ccc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment