summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--services/audioflinger/AudioFlinger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp
index ffb00e7..424d8bc 100644
--- a/services/audioflinger/AudioFlinger.cpp
+++ b/services/audioflinger/AudioFlinger.cpp
@@ -8056,7 +8056,7 @@ size_t AudioFlinger::EffectModule::removeHandle(EffectHandle *handle)
mState = DESTROYED;
}
- return size;
+ return mHandles.size();
}
// must be called with EffectModule::mLock held