diff options
| author | 2023-06-21 21:16:22 -0700 | |
|---|---|---|
| committer | 2023-06-21 21:37:58 -0700 | |
| commit | 5fae7f3900a42fc91affdd951978b6099a13c3f4 (patch) | |
| tree | cc89489579e7ffa15055a303cdf829eebfbdb82c /libs/androidfw/AssetManager.cpp | |
| parent | 3e77c6f37e4f5b7336e123c186de5920936c5c96 (diff) | |
SourceStampVerification Return more specific error code when verification fails
Summary:
Upstream from Meta
If the source stamp tag is not present, SignatureNotFoundException is thrown.
In such cases , it is better to return with
SourceStampVerificationResult.notPresent() instead of
SourceStampVerificationResult.notVerified()
Also modified Android platform core tests (APCT) to reflect this change
Test: Verified using Android platform core tests (APCT)
All other tests pass successfully
Reviewers:
Subscribers:
Tasks:
Tags:
Change-Id: Ifb4b05b6c4a18646cb72fbdc03c529e80f798b21
Signed-off-by: sourabh-nanoti <sourabhn@meta.com>
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions