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

Commit 2bcc1ef6 authored by Pierre Barbier de Reuille's avatar Pierre Barbier de Reuille
Browse files

Simplify DesktopModeFlags

If the Desktop Experience developer option flag is enabled,
DesktopModeFlags will look at the same signal as DesktopExperienceFlags
(i.e. the system property).

If not, it will look at the previous signal (i.e. the settings config).

This will simplify the code and avoid some expensive blocking calls.

Fix: 416813838
Bug: 389092752
Test: atest DesktopModeStatusTest DesktopStateImplTest
Test: atest DesktopExperienceFlagsTest DesktopModeFlagsTest
Flag: EXEMPT (bug fix)
Change-Id: I2e5753202f38de2f39d475fcf50c7fffb1fc4849
parent 4ecc9607
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