Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfcae359 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

Surface doens't have an identity anymore

Change-Id: Ic62c0f6ba9aae9b67335a2029a5de1caa3fc5b94
parent 30d7ab9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -326,7 +326,7 @@ android_media_MediaRecorder_prepare(JNIEnv *env, jobject thiz)
            return;
        }

        ALOGI("prepare: surface=%p (identity=%d)", native_surface.get(), native_surface->getIdentity());
        ALOGI("prepare: surface=%p", native_surface.get());
        if (process_media_recorder_call(env, mr->setPreviewSurface(native_surface), "java/lang/RuntimeException", "setPreviewSurface failed.")) {
            return;
        }