diff options
author | Ytai Ben-Tsvi <ytai@google.com> | 2020-08-13 16:25:45 -0700 |
---|---|---|
committer | Ytai Ben-Tsvi <ytai@google.com> | 2020-09-10 13:27:07 -0700 |
commit | 2c344c0fec0f6fc247a1432cd599ce71876218a0 (patch) | |
tree | d572594a93362fa6ae375925cfd9ab25f84bb253 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 82bc48af03d5cb2a192682f6a0f219dc1066b9ad (diff) |
Correctly handle HAL death
In the presence of multiple sessions, we would modify the
mActiveSessions list while iterating it, causing a runtime exception.
This has not been observed before, since we never had more than one
session.
In addition, unified the exception used to convey a dead module.
Test: Killed STHAL process and observed recovery.
Bug: 163865561
Change-Id: Ib5c5f81463d51e0f1bacae3a689fd9c8515cecc9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions