diff --git a/core/jni/android_view_SurfaceControl.cpp b/core/jni/android_view_SurfaceControl.cpp index 5ca71b89f4834..bcb0da33c1113 100644 --- a/core/jni/android_view_SurfaceControl.cpp +++ b/core/jni/android_view_SurfaceControl.cpp @@ -609,7 +609,7 @@ static void nativeSetBuffer(JNIEnv* env, jclass clazz, jlong transactionObj, jlo if (fencePtr != 0) { optFence = sp{reinterpret_cast(fencePtr)}; } - transaction->setBuffer(ctrl, graphicBuffer, optFence, std::nullopt, + transaction->setBuffer(ctrl, graphicBuffer, optFence, std::nullopt, 0 /* producerId */, genReleaseCallback(env, releaseCallback)); }