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

Commit f9961757 authored by Xuewei Gu's avatar Xuewei Gu
Browse files

Print attaching module name

getModuleName() will always return "invalid module"
before mModule assignment.

Change-Id: I604e64c70504d61daa88344b88150fa1a0b1c13c
parent b9d81e08
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,9 +30,9 @@ namespace android {
// --- PolicyAudioPort class implementation
void PolicyAudioPort::attach(const sp<HwModule>& module)
{
    mModule = module;
    ALOGV("%s: attaching module %s to port %s",
            __FUNCTION__, getModuleName(), asAudioPort()->getName().c_str());
    mModule = module;
}

void PolicyAudioPort::detach()