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

Skip to content
Commit 96e7d5d0 authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

Update desktop mode flag checks to include device config check

Update `DesktopModeStatus.canEnterDesktopMode()` to include the desktop
windowing flag check. Replace all uses of
`DesktopModeStatus.isEnabled()` with
`DesktopModeStatus.canEnterDesktopMode()` to check both the state of the
flag and whether the device is compatible with desktop mode.

Flag: None
Bug: 339093954
Test: atest WMShellUnitTests:DesktopModeLoggerTransitionObserverTest
Test: atest WMShellUnitTests:DesktopTasksControllerTest
Test: atest WMShellUnitTests:FreeformTaskListenerTests
Test: atest WMShellUnitTests:RecentTasksControllerTest
Test: atest WMShellUnitTests:DesktopModeWindowDecorViewModelTests
Test: atest WMShellUnitTests:DesktopModeWindowDecorationTests

Change-Id: If0846062c2234f1d89fcde271150f3e613fd45cb
parent 09b0a7c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment