summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Li Li <dualli@google.com> 2021-12-30 11:47:31 -0800
committer Li Li <dualli@google.com> 2021-12-30 12:33:02 -0800
commitf6c8eb3e4153779f0629cb2e4b7296354259850b (patch)
tree3fcefe441693564e37c38de3f1f5f46c0094f450 /libs/androidfw/StringPool.cpp
parent1cac926292f5e6e7144add5ab1ba646112f27749 (diff)
Reset app freezer timeout for broadcast messages
The current freezer code will unfreeze a frozen app when it receives a registered broadcast. That grants the app a grace period to process the message. However, if the app is not already frozen, there isn't such an extra grace period. It's possible the app might be frozen immediately after receiving the broadcast. This patch ensures apps always get that extra grace period to process the incoming broadcast messages. Bug: 172001574 Bug: 189609004 Test: cached apps won't be frozen until the grace period expires. Change-Id: Ie9d8c51b074029dc0b23cf3991f3ab21a556ca17
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions