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

Commit 18f8500e authored by Martijn Coenen's avatar Martijn Coenen Committed by Gerrit Code Review
Browse files

Merge "Fix gNumProxies double increment."

parents 9f168287 5183c0ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -664,7 +664,7 @@ jobject javaObjectForIBinder(JNIEnv* env, const sp<IBinder>& val)
        nativeData->mObject = val;
        gNativeDataCache = nullptr;
        ++gNumProxies;
        if (++gNumProxies >= gProxiesWarned + PROXY_WARN_INTERVAL) {
        if (gNumProxies >= gProxiesWarned + PROXY_WARN_INTERVAL) {
            ALOGW("Unexpectedly many live BinderProxies: %d\n", gNumProxies);
            gProxiesWarned = gNumProxies;
        }