AudioFlinger: Remove unnecessary friends
Remove obsolete TODOs, replace as needed with specific bug numbers.
Test: compiles
Bug: 288339104
Change-Id: Ied525f2f100203800f746239685e77b8e033618e
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index ca2dd47..9e29ba3 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -7516,7 +7516,6 @@
if (numTracks > 0) {
ss << ":";
for (const auto &track : mOutputTracks) {
- // TODO(b/288339104) type
const auto thread = track->thread().promote();
ss << " (" << track->id() << " : ";
if (thread.get() != nullptr) {
@@ -7601,7 +7600,6 @@
{
mWaitTimeMs = UINT_MAX;
for (size_t i = 0; i < mOutputTracks.size(); i++) {
- // TODO(b/288339104) type
const auto strong = mOutputTracks[i]->thread().promote();
if (strong != 0) {
uint32_t waitTimeMs = (strong->frameCount() * 2 * 1000) / strong->sampleRate();
@@ -8915,7 +8913,7 @@
sp<IAfTrackBase> ptr =
std::any_cast<const wp<IAfTrackBase>>(strongEvent->cookie()).promote();
if (ptr != nullptr) {
- // TODO(b/288339104) handleSyncStartEvent is in IAfTrackBase not IAfRecordTrack.
+ // TODO(b/291317898) handleSyncStartEvent is in IAfTrackBase not IAfRecordTrack.
ptr->handleSyncStartEvent(strongEvent);
}
}