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

Commit 37351f40 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Throw OOM exception with error status" into tm-qpr-dev

parents 19504bf7 b9e74864
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -428,7 +428,7 @@ static jlong nativeCreate(JNIEnv* env, jclass clazz, jobject sessionObj,
        jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
        return 0;
    } else if (err != NO_ERROR) {
        jniThrowException(env, OutOfResourcesException, NULL);
        jniThrowException(env, OutOfResourcesException, statusToString(err).c_str());
        return 0;
    }