Remove old asserts that don't compile with NDEBUG
Summary: This ASSERTS() have not been updated when the code has changed.
If compiling this module with LOG_NDEBUG 0, it does not build.
Test Plan: Successful build
Change-Id: I71352ad013cedc967d45ceb901233f038c95a008
Signed-off-by: Abdelrahman Daim <adaim@meta.com>
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index ecbd0ae..7aed720 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -8421,7 +8421,6 @@
}
if (invalidate) {
activeTrack->invalidate();
- ALOG_ASSERT(fastTrackToRemove == 0);
fastTrackToRemove = activeTrack;
removeTrack_l(activeTrack);
mActiveTracks.remove(activeTrack);