diff options
author | 2025-02-11 10:14:38 -0800 | |
---|---|---|
committer | 2025-02-13 02:26:42 -0800 | |
commit | 9a36de50228fdff9ed53e1dd9545eb446ed09943 (patch) | |
tree | 3a88c7187ee79d42291ab924063391e0204e7a6d /compiler/optimizing/nodes.cc | |
parent | 8ad405adff23e156823bdb6813858e981ad57df6 (diff) |
Fix unnecessary warnings on embedded profile not found.
Before this change, artd checks the error message returned from
ZipArchive::Find against a hardcoded string to tell if the entry is not
found, to decide whether it should log. https://r.android.com/3426849
broke this unreliable approach, causing artd to log warnings in the case
of the embedded profile being not found, which is supposed to be
expected. This CL fixes it by adding a new method
`ZipArchive::FindOrNull` that does not treat entry not found as an
error.
Bug: 317513933
Change-Id: Ie3c3590d0eeabe9f8a72538534091e8019f8250a
Test: Presubmit
Diffstat (limited to 'compiler/optimizing/nodes.cc')
0 files changed, 0 insertions, 0 deletions