commit | eb6b5f8900651a9f57471a3614336ef20621708a | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Fri Jul 14 11:00:08 2023 -0700 |
committer | Andy Hung <hunga@google.com> | Thu Aug 10 18:40:43 2023 -0700 |
tree | 17283d632f8eca91f29364a92cbd0643fef5a5ac | |
parent | 6bad18ae9c2c6bd7e880b74482a6dbf7aa4ef4db [diff] [blame] |
AudioFlinger: Remove unnecessary friends Remove obsolete TODOs, replace as needed with specific bug numbers. Test: compiles Bug: 288339104 Merged-In: Ied525f2f100203800f746239685e77b8e033618e Change-Id: Ied525f2f100203800f746239685e77b8e033618e
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index 5c6fc9c..f0006ba 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp
@@ -3692,7 +3692,7 @@ // clang-tidy suggests const ref sp<IAfEffectChain> ec = chains[i]; // NOLINT(performance-unnecessary-copy-initialization) int sessionid = ec->sessionId(); - const auto t = sp<IAfThreadBase>::cast(ec->thread().promote()); // TODO(b/288339104) + const auto t = ec->thread().promote(); if (t == 0) { continue; }