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

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

fix typo introduced in SurfaceTextureClient to Surface renaming

Change-Id: Iaf1ecc9f5b83a029067b278bc15180d68a113587
parent ceec31b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -206,8 +206,8 @@ static jobject nativeLockCanvas(JNIEnv* env, jobject surfaceObj, jint nativeObje
    ANativeWindow_Buffer outBuffer;
    Rect dirtyBounds(dirtyRegion.getBounds());
    status_t err = surface->lock(&outBuffer, &dirtyBounds);
    if (err < 0) {
    dirtyRegion.set(dirtyBounds);
    if (err < 0) {
        const char* const exception = (err == NO_MEMORY) ?
                OutOfResourcesException :
                "java/lang/IllegalArgumentException";