Merge "NativeCryptoInfo: fix ctor invocation" into main am: 1f108e0203
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2652628 Change-Id: Ia9237e06db6d58dda062bafcefc4cb70ccb4135a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2491,7 +2491,7 @@ static void android_media_MediaCodec_native_queueLinearBlock(
|
||||
return;
|
||||
}
|
||||
auto cryptoInfo =
|
||||
cryptoInfoObj ? NativeCryptoInfo{size} : NativeCryptoInfo{env, cryptoInfoObj};
|
||||
cryptoInfoObj ? NativeCryptoInfo{env, cryptoInfoObj} : NativeCryptoInfo{size};
|
||||
if (env->ExceptionCheck()) {
|
||||
// Creation of cryptoInfo failed. Let the exception bubble up.
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user