diff options
author | Tetsutoki Shiozawa <tetsutoki.shiozawa@sony.com> | 2017-10-24 18:44:00 +0900 |
---|---|---|
committer | Shunta Sato <shunta.sato@sony.com> | 2017-10-27 02:24:38 +0000 |
commit | be2d96a724a5ecbf0d5b9be9e47d89034971f4a6 (patch) | |
tree | 53640c6fb4ae4b27a9088fe7127c504121fa7419 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 26817938f6966928488e92de73359c3887006642 (diff) |
Fix: AccountManagerService crashed by accessing closed db
Symptom:
When a current user was switched, AccountManagerService crashed with
IllegalStateException.
Root cause:
accountsDb was closed when user was stopped. AccountManagerService
tried to insert a log record to the closed db and it failed.
Solution:
It catches the exception if it's failed to insert a log record.
Bug: 68233592
Change-Id: I97b63e4777bf7f8a1d38d96e494f6a21847d374b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions