diff options
| author | 2025-01-22 13:46:27 -0800 | |
|---|---|---|
| committer | 2025-01-23 00:15:23 +0000 | |
| commit | 8623733336a2a73d98f5107d0942d3db40c612dc (patch) | |
| tree | cc96d51bf056e3d20005230280cca69ae0e4c394 /libs/androidfw/AssetsProvider.cpp | |
| parent | 1dd200f972b74346d6794ede34344c730a8977a2 (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