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

Commit 61be60b9 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android (Google) Code Review
Browse files

Merge "put TextureView back to async mode"

parents 8f6c998c 24f43c9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ static void android_view_TextureView_createNativeWindow(JNIEnv* env, jobject tex
        jobject surface) {

    sp<IGraphicBufferProducer> producer(SurfaceTexture_getProducer(env, surface));
    sp<ANativeWindow> window = new Surface(producer);
    sp<ANativeWindow> window = new Surface(producer, true);

    window->incStrong((void*)android_view_TextureView_createNativeWindow);
    SET_INT(textureView, gTextureViewClassInfo.nativeWindow, jint(window.get()));