diff options
| author | 2022-11-02 11:42:33 -0600 | |
|---|---|---|
| committer | 2022-11-02 11:42:33 -0600 | |
| commit | 436998b020317661dfe1c3b58c8003211f68a7aa (patch) | |
| tree | 3f749745f3af1d23246be47643133c2979afa155 /api/api.go | |
| parent | fbfc1da075f5c5f3f77fd0f7e0a2daeb740191fc (diff) | |
MediaCodec: check for exceptions when creating crypto info
NativeCryptoInfo's constructor may throw an exception, which means that
pieces of `cryptoInfo` won't be properly initialized. Check for that
here and let it bubble up.
Bug: 206470603
Test: TreeHugger
Change-Id: Ifcd15a9ac70f5cfa979c58c84461a37a3a03ef90
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions