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

Commit 83774965 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android Git Automerger
Browse files

am bc910e5c: Merge "Fix hang" into klp-dev

* commit 'bc910e5c':
  Fix hang
parents 0c126a84 bc910e5c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -744,7 +744,7 @@ status_t MediaPlayerService::Client::setVideoSurfaceTexture(

    sp<ANativeWindow> anw;
    if (bufferProducer != NULL) {
        anw = new Surface(bufferProducer);
        anw = new Surface(bufferProducer, true /* controlledByApp */);
        status_t err = native_window_api_connect(anw.get(),
                NATIVE_WINDOW_API_MEDIA);