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

Commit 1b4f5374 authored by Martijn Coenen's avatar Martijn Coenen Committed by android-build-merger
Browse files

Merge "Fix gNumProxies double increment."

am: 18f8500e

Change-Id: I1cc29693fd50fc033342c592841a17dbd5b9d532
parents 775861bb 18f8500e
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;
        }