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

Commit ce95b5da authored by Garfield Tan's avatar Garfield Tan Committed by Android (Google) Code Review
Browse files

Merge "Fix method sinature of FuseAppLoop JNI code"

parents 9d552b5d d2229a65
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -142,14 +142,14 @@ void com_android_internal_os_FuseAppLoop_replyOpen(
}

void com_android_internal_os_FuseAppLoop_replyLookup(
        JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jint size) {
        JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) {
    if (!reinterpret_cast<fuse::FuseAppLoop*>(ptr)->ReplyLookup(unique, inode, size)) {
        reinterpret_cast<fuse::FuseAppLoop*>(ptr)->Break();
    }
}

void com_android_internal_os_FuseAppLoop_replyGetAttr(
        JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jint size) {
        JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) {
    if (!reinterpret_cast<fuse::FuseAppLoop*>(ptr)->ReplyGetAttr(
            unique, inode, size, S_IFREG | 0777)) {
        reinterpret_cast<fuse::FuseAppLoop*>(ptr)->Break();