commit | 5612670840aaaef6a3865aa6de60cc74ad95f111 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Fri Jul 14 11:00:08 2023 -0700 |
committer | Andy Hung <hunga@google.com> | Fri Oct 06 20:50:00 2023 -0700 |
tree | 97bda6e020570d766115fd9d649009b0aab6943b | |
parent | 34645da293e318e411befe0f41e7c3ac3a6bd4a7 [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 203af2f..276314c 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; }