summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMarco Ballesio <balejs@google.com>2020-09-10 13:36:14 -0700
committerMarco Ballesio <balejs@google.com>2020-09-14 20:25:15 +0000
commit5b5fdb80ec9ffa00a4d35dfc84fa8f28d9a6d8fb (patch)
tree010539c052b5d906a460cf572ada31aa14debf26 /tools/aapt2/java/JavaClassGenerator.cpp
parenta2da145ff6cdf0767b91998c17d33d0c601c543c (diff)
ActivityManager: kill frozen processes receiving sync transactions
Synchronous transactions to frozen processes are rejected by binder, which can potentially leave these processes in an unclean state when unfrozen. Kill such processes insted of unfreezing then when they're removed from the cache. This patch also increases the timeout before freezing an app, to allow pending transactions to be processes for a longer window after caching and so to reduce the amount of background kills. Bug: 143717177 Test: cached/frozen a few apps, sent sync and async transactions to them and verified that killing happened when expected. Change-Id: Ieca9d49e1befd1358862aa7afeeec15a408d7ef3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions