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

Commit e00f2bab authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "HIDL: unsilence error for local Java binder" am: d8067641 am: bedff86e am: 9555aa4d

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1445875

Change-Id: I1af49f72665fc18b0f3baf0f2b0ba0118e48ea49
parents bc616219 9555aa4d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
    }