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

Commit 5a17fde9 authored by James Dong's avatar James Dong
Browse files

Removed a CHECK_EQ that is not needed.

'what' was just compared against Renderer::kWhatFlushComplete before entering the
if block.

Change-Id: I72c5c156f814621a24439d89e150c4e0d90edcbb
parent f5545b96
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -494,8 +494,6 @@ void NuPlayer::onMessageReceived(const sp<AMessage> &msg) {
                    }
                    }
                }
                }
            } else if (what == Renderer::kWhatFlushComplete) {
            } else if (what == Renderer::kWhatFlushComplete) {
                CHECK_EQ(what, (int32_t)Renderer::kWhatFlushComplete);

                int32_t audio;
                int32_t audio;
                CHECK(msg->findInt32("audio", &audio));
                CHECK(msg->findInt32("audio", &audio));