summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.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-19 07:26:36 +0000
commit5711f81f92aaf02a677421f31237cc78ea11e501 (patch)
treedb8c2a045c08e306107f89d72d5ea44be8323515 /libs/androidfw/ObbFile.cpp
parent321ed901a30484e8c1a7e86d1f784ebcc8367fc1 (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 (cherry picked from commit e4207adfe317823438340c2a6a261a5bb8bd39c7)
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions