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

Commit 42060c4e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unnecessary FIXME in close."

parents 3228b2d2 dabf892a
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -228,9 +228,6 @@ void AAudioServiceEndpointMMAP::close() {
    if (mMmapStream != nullptr) {
        // Needs to be explicitly cleared or CTS will fail but it is not clear why.
        mMmapStream.clear();
        // Apparently the above close is asynchronous. An attempt to open a new device
        // right after a close can fail. Also some callbacks may still be in flight!
        // FIXME Make closing synchronous.
        AudioClock::sleepForNanos(100 * AAUDIO_NANOS_PER_MILLISECOND);
    }
}