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

Commit 00dae0a0 authored by Joe Onorato's avatar Joe Onorato
Browse files

Less logging in some places. More in others.

parent eee4987d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -499,7 +499,8 @@ status_t AudioFlinger::setRouting(int mode, uint32_t routes, uint32_t mask)
    }

#ifdef WITH_A2DP
    LOGD("setRouting %d %d %d, tid %d, calling tid %d\n", mode, routes, mask, gettid(), IPCThreadState::self()->getCallingPid());
    LOGV("setRouting %d %d %d, tid %d, calling tid %d\n", mode, routes, mask, gettid(),
            IPCThreadState::self()->getCallingPid());
    if (mode == AudioSystem::MODE_NORMAL && 
            (mask & AudioSystem::ROUTE_BLUETOOTH_A2DP)) {
        AutoMutex lock(&mLock);
@@ -893,7 +894,7 @@ void AudioFlinger::handleRouteDisablesA2dp_l(int routes)
            }
            LOGV("mA2dpDisableCount decremented to %d", mA2dpDisableCount);
        } else {
            LOGE("mA2dpDisableCount is already zero");
            LOGV("mA2dpDisableCount is already zero");
        }
    }
}