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

Skip to content
Commit fa583524 authored by Jorge Gil's avatar Jorge Gil
Browse files

Only bring desktop app to front when necessary

If the active desktops apps are already in the front, then there's
no need to add WCT#reorder operations for every desktop app.
Instead, check first whether there is an invisble app, and if there
is, reorder all apps so that the Z order is maintained.

Bug: 255344915
Bug: 258056163
Test: atest DesktopModeControllerTest
Test: manual - in desktop mode,
 1. Launch Gmail
 2. Launch Photos
 3. Observe there is no reorder triggered anymore
Change-Id: Ib2cc8d900d1d0ccc8b9e2b49b95f1708531aa398
parent 789c3395
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