Merge "Do not disable effect in AudioEffect destructor."

This commit is contained in:
Eric Laurent
2011-04-07 10:31:11 -07:00
committed by Android (Google) Code Review

View File

@@ -170,7 +170,6 @@ AudioEffect::~AudioEffect()
LOGV("Destructor %p", this);
if (mStatus == NO_ERROR || mStatus == ALREADY_EXISTS) {
setEnabled(false);
if (mIEffect != NULL) {
mIEffect->disconnect();
mIEffect->asBinder()->unlinkToDeath(mIEffectClient);