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

Skip to content
Commit 8238efa9 authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

Move all desktop mode intial bounds logic to `DesktopTasksController`

Currently there are two intial bounds calcultions, one in
`DesktopModeWindowDecorViewModel` and another in `DesktopTasksController`.
Previously the calculation in `DesktopModeWindowDecorViewModel` was needed
for the animation to enter desktop mode. However this dependancy has been
removed and thus there is no need to calculate in
`DesktopModeWindowDecorViewModel` specifically as the logic already exits
in 'DesktopTasksController' where it is untimately needed.

Fixes: 334056753
Test: atest WMShellUnitTests:DesktopTasksControllerTest,
WMShellUnitTests: DesktopModeWindowDecorViewModelTests
Change-Id: Ib623ada68add20a234235472e718cf0b3984e33b
parent 0b8cb6da
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