summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Louis Chang <louischang@google.com> 2024-11-14 07:55:14 +0000
committer Louis Chang <louischang@google.com> 2024-11-18 04:49:44 +0000
commit3f3968aea3b6e5f226d687437e8e08ba80539ed6 (patch)
tree368995f2a7db62c307daceede487595ed028a30f /libs/androidfw/ResourceTimer.cpp
parent662f37eaac19a550b50fd20ef513337aa49da4fb (diff)
Avoid sending top-resumed gain/loss to client if resume deferred
Defer-resume is enabled while applying WCT. However, it is still possible starting an Activity in the transaction, i.e. HIERARCHY_OP_TYPE_PENDING_INTENT. In that case, the focused-app may be updated while the top-resumed activity is not. Instead of not updating the top-resumed activity, this CL now only avoid sending the top-resumed state loss/gain to the client, and keeps the top-resumed Activity being updated to match the wm hierarchy. Bug: 378110725 Test: ActivityTaskSupervisorTests Flag: EXEMPT bugfix Change-Id: Ic91bd4b367b2d5d19ad91d86a3e803bea0ff3a04
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions