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

Commit 51eb127a authored by Mathias Agopian's avatar Mathias Agopian Committed by Android Git Automerger
Browse files

am e4d3b06b: Merge "get rid of uses of getISurfaceTexture"

* commit 'e4d3b06b':
  get rid of uses of getISurfaceTexture
parents 4d149f58 e4d3b06b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -116,8 +116,8 @@ jobject android_view_Surface_createFromIGraphicBufferProducer(JNIEnv* env,

// ----------------------------------------------------------------------------

static bool isSurfaceValid(const sp<Surface>& sur) {
    return sur != 0 && sur->getISurfaceTexture() != 0;
static inline bool isSurfaceValid(const sp<Surface>& sur) {
    return Surface::isValid(sur);
}

// ----------------------------------------------------------------------------