diff options
author | Salvador Martinez <dehboxturtle@google.com> | 2019-05-02 14:32:12 -0700 |
---|---|---|
committer | Salvador Martinez <dehboxturtle@google.com> | 2019-05-02 17:59:17 -0700 |
commit | c500b2741e31ce52356ff66e3b4943a98ae3ff8c (patch) | |
tree | a2c574cef95b58f822d14542c5fc1abe61902149 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 28cb4d23db83de7b957e0b2fc6a3dae0371b4799 (diff) |
Prevent dark mode backup from applying in before setup
This CL makes it so that UIModeManager will not allow dark mode
to be changed prior to initial setup wizard being completed.
Additionally, it makes it so that when UIModeManager starts it
will try to start in light mode prior to setup wizard completing
regardless of what the backed up value is. We also register for
an observer if when we start UIModeManager we notice that setup
wizard has not run and defer updating dark mode to the true value
until we see that setup wizard completes.
Test: Manual
Bug: 119666724
Change-Id: Ie9cf36c8483d9cdd9e7aadd3aae4cc0ef15e8d45
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions