Merge "HIDL: unsilence error for local Java binder"

This commit is contained in:
Steven Moreland
2020-10-06 19:38:50 +00:00
committed by Gerrit Code Review

View File

@@ -990,6 +990,8 @@ static jobject JHwParcel_native_readStrongBinder(JNIEnv *env, jobject thiz) {
}
if (!validateCanUseHwBinder(binder)) {
jniThrowException(env, "java/lang/IllegalArgumentException",
"Local binder is not supported in Java");
return nullptr;
}