commit | 0e2578370d37e7416aac2b8c193268113480a34f | [log] [tgz] |
---|---|---|
author | Jernej Virag <jernej@google.com> | Wed Feb 01 11:18:41 2023 +0100 |
committer | Jernej Virag <jernej@google.com> | Wed Feb 01 14:18:37 2023 +0100 |
tree | 95c0aa7a46a792b2e71140fbcaee15f30468e009 | |
parent | e37f841ea4577bfff06123a56ddb910fb3f0c630 [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