summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Dmitry Dementyev <dementyev@google.com> 2024-07-22 23:48:29 +0000
committer Dmitry Dementyev <dementyev@google.com> 2024-07-22 23:49:24 +0000
commitd248c61ef55b0874cd586d6812a9af29ad31e909 (patch)
tree55b6dd26cf1d6f637987b6f4dac7c0fb4a098687 /libs/androidfw/misc.cpp
parent06483f83b300c7fb9ec0ccca38e35dc711fe6b7a (diff)
Prevent system service crash after SQL error in AccountManagerService.
Catch broader exception instead of SQLiteCantOpenDatabaseException since current one ignores some errors during database update. Return empty list if error happened during getAccountsAsUser call used by SyncManager. Bug: 354764198 Test: manual Flag: EXEMPT bugfix Change-Id: I0f3190e8b284230b5c955b9f43b09c4c291ea73a
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions