summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Pablo Gamito <pablogamito@google.com> 2025-01-22 13:46:27 -0800
committer Pablo Gamito <pablogamito@google.com> 2025-01-23 00:15:23 +0000
commit8623733336a2a73d98f5107d0942d3db40c612dc (patch)
treecc96d51bf056e3d20005230280cca69ae0e4c394 /libs/androidfw/AssetsProvider.cpp
parent1dd200f972b74346d6794ede34344c730a8977a2 (diff)
Distinguish the reason why decoding failed.
We were throwing a RuntimeException that the message hash wasn't in the viewer config file, but this can also happen when the viewer config file wasn't loaded into memory from disk, which is more likely a bug. Update the exception to clarify what's happening. Test: atest com.android.internal.protolog.ProtoLogViewerConfigReaderTest Bug: 388235335 Flag: EXEMPT updating error message clarity Change-Id: I484c918ec196d57bb910900e3a7a7870923d64a5
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions