Merge "HIDL: unsilence error for local Java binder" am: d806764162 am: bedff86e1a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1445875 Change-Id: Id93fc8916d2ff4ebacf927c80851f1d26d7a154e
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user