Merge "NativeCryptoInfo: fix ctor invocation" into main

This commit is contained in:
Treehugger Robot
2023-07-19 18:31:49 +00:00
committed by Gerrit Code Review

View File

@@ -2491,7 +2491,7 @@ static void android_media_MediaCodec_native_queueLinearBlock(
return; return;
} }
auto cryptoInfo = auto cryptoInfo =
cryptoInfoObj ? NativeCryptoInfo{size} : NativeCryptoInfo{env, cryptoInfoObj}; cryptoInfoObj ? NativeCryptoInfo{env, cryptoInfoObj} : NativeCryptoInfo{size};
if (env->ExceptionCheck()) { if (env->ExceptionCheck()) {
// Creation of cryptoInfo failed. Let the exception bubble up. // Creation of cryptoInfo failed. Let the exception bubble up.
return; return;