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

Commit 21347cf0 authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge "android.os.HwBinder: fix native static method signature"

am: 65944e79

Change-Id: I09295da4a6021bd02c5c5e89d1d4ce3a8be82c96
parents 136c475d 65944e79
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -346,7 +346,8 @@ static jobject JHwBinder_native_getService(
    return JHwRemoteBinder::NewObject(env, service);
}

void JHwBinder_native_configureRpcThreadpool(jlong maxThreads, jboolean callerWillJoin) {
void JHwBinder_native_configureRpcThreadpool(JNIEnv *, jclass,
        jlong maxThreads, jboolean callerWillJoin) {
    CHECK(maxThreads > 0);
    ProcessState::self()->setThreadPoolConfiguration(maxThreads, callerWillJoin /*callerJoinsPool*/);
}
@@ -355,7 +356,7 @@ void JHwBinder_native_joinRpcThreadpool() {
    IPCThreadState::self()->joinThreadPool();
}

static void JHwBinder_report_sysprop_change(JNIEnv /**env*/, jobject /*clazz*/)
static void JHwBinder_report_sysprop_change(JNIEnv * /*env*/, jclass /*clazz*/)
{
    report_sysprop_change();
}