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

Commit 8786d5bd authored by Michael Hoisie's avatar Michael Hoisie Committed by Android (Google) Code Review
Browse files

Merge "Fix bad merge in nativeDecodeFileDescriptor in BitmapFactory.cpp" into main

parents a09301fd a7e2e593
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -688,7 +688,7 @@ static jobject nativeDecodeStream(JNIEnv* env, jobject clazz, jobject is, jbyteA

static jobject nativeDecodeFileDescriptor(JNIEnv* env, jobject clazz, jobject fileDescriptor,
        jobject padding, jobject bitmapFactoryOptions, jlong inBitmapHandle, jlong colorSpaceHandle) {
#ifndef __ANDROID__ // LayoutLib for Windows does not support F_DUPFD_CLOEXEC
#ifdef _WIN32  // LayoutLib for Windows does not support F_DUPFD_CLOEXEC
    return nullObjectReturn("Not supported on Windows");
#else
    NPE_CHECK_RETURN_ZERO(env, fileDescriptor);