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

Commit a36c321e authored by Kartar Singh's avatar Kartar Singh Committed by Gerrit Code Review
Browse files

Merge "Use correct method to call JNI method with void return type" into main

parents 750041be 4d1b8c91
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ void removeInputChannel(const sp<IBinder>& clientToken) {
    JNIEnv* env = AndroidRuntime::getJNIEnv();

    ScopedLocalRef<jobject> clientTokenObj(env, javaObjectForIBinder(env, clientToken));
    env->CallStaticObjectMethod(gWindowManagerGlobal.clazz, gWindowManagerGlobal.removeInputChannel,
    env->CallStaticVoidMethod(gWindowManagerGlobal.clazz, gWindowManagerGlobal.removeInputChannel,
                              clientTokenObj.get());
}