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

am: 21347cf052

Change-Id: I6ee75f8c697a46105a30d68a8ad79f00f543f9ac
This commit is contained in:
Yifan Hong
2017-10-25 22:39:22 +00:00
committed by android-build-merger

View File

@@ -346,7 +346,8 @@ static jobject JHwBinder_native_getService(
return JHwRemoteBinder::NewObject(env, service); 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); CHECK(maxThreads > 0);
ProcessState::self()->setThreadPoolConfiguration(maxThreads, callerWillJoin /*callerJoinsPool*/); ProcessState::self()->setThreadPoolConfiguration(maxThreads, callerWillJoin /*callerJoinsPool*/);
} }
@@ -355,7 +356,7 @@ void JHwBinder_native_joinRpcThreadpool() {
IPCThreadState::self()->joinThreadPool(); 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(); report_sysprop_change();
} }