summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Jernej Virag <jernej@google.com> 2023-02-01 11:18:41 +0100
committer Jernej Virag <jernej@google.com> 2023-02-01 14:18:37 +0100
commit0e2578370d37e7416aac2b8c193268113480a34f (patch)
tree95c0aa7a46a792b2e71140fbcaee15f30468e009 /libs/androidfw/FileStream.cpp
parente37f841ea4577bfff06123a56ddb910fb3f0c630 (diff)
Fix SysUI crash when memory collection times out
runBlocking for coroutines will throw InterruptedException when its thread is interrupted. StatsD does that when wall clock time for collection exceeds the timeout. Don't allow this exception to crash SysUI and correctly signal statsd to discard the result. Bug: 267162163 Bug: 267355629 Test: wrote new unit test cases, verified them on raven-userdebug Change-Id: I2e7a659ed5d33df7d543a935617b1a97213c08b6
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions