summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-07-18 14:45:28 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-07-18 14:45:28 +0000
commite4207adfe317823438340c2a6a261a5bb8bd39c7 (patch)
tree13b5e5e89e15a192dd6468f75f80e54c136051ce /libs/androidfw/AttributeResolution.cpp
parent39759a9ed108236c127fe29af7a47b69ad29bc38 (diff)
Update to cold launch if the process is restarted during launching
The current common case is that the process of the resuming activity is just unfrozen but its binder buffer is full (someone still sends async binder call to it when it is frozen) and the process could be killed because binder transaction failed. Then the process will attach again so the launch type can be corrected to COLD to avoid disturb the distribution of metrics. Bug: 291599121 Test: atest ActivityMetricsLaunchObserverTests#testLaunchState Change-Id: I26252410508d21aacacd35bd6cc305dc7a0fc9f9
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions