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

Commit f413d2a6 authored by brycelee's avatar brycelee Committed by Android Build Coastguard Worker
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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9257174a46d7c31101b023dcac643568dfb0a773)
Merged-In: Ic234452a5f280ae2cb1ad0e336f343d807523e72
Change-Id: Ic234452a5f280ae2cb1ad0e336f343d807523e72
parent f6f4df1c
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