summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2022-12-01 18:32:50 +0000
committer Jorge Gil <jorgegil@google.com> 2022-12-01 19:20:01 +0000
commitfa5835246451e04dfbd5c32bc2a7c9126e58f1b6 (patch)
treecb655ece5e205d71ef8ea4abc1e9959a7358f586 /libs/androidfw/StringPool.cpp
parent789c3395b6a5093c99bda06581437f909be59a3c (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions