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

Commit ea4a451f authored by dianlujitao's avatar dianlujitao Committed by Luca Stefani
Browse files

Binder: Fix improper JNI call for dumpProxyDebugInfo

 * dumpProxyDebugInfo doesn't have a return value, so it should be
   invoked via CallStaticVoidMethod instead of CallStaticObjectMethod.

Change-Id: Ie4c497f69b371ec3d55e7736827f73142d14a5b4
parent fc7020f6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1010,7 +1010,7 @@ static void android_os_BinderInternal_proxyLimitcallback(int uid)
    {
        // Calls into BinderProxy must be serialized
        AutoMutex _l(gProxyLock);
        env->CallStaticObjectMethod(gBinderProxyOffsets.mClass,
        env->CallStaticVoidMethod(gBinderProxyOffsets.mClass,
                                  gBinderProxyOffsets.mDumpProxyDebugInfo);
    }
    if (env->ExceptionCheck()) {