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

Commit b1e0022d authored by David Zhao's avatar David Zhao Committed by Automerger Merge Worker
Browse files

Merge "Fix incorrect evaluation of TvMessage count" into udc-dev am: 4fca5c41

parents cac9c217 4fca5c41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -418,7 +418,7 @@ JTvInputHal::TvInputCallback::TvInputCallback(JTvInputHal* hal) {
::ndk::ScopedAStatus JTvInputHal::TvInputCallback::notifyTvMessageEvent(
        const AidlTvMessageEvent& event) {
    const std::string DEVICE_ID_SUBTYPE = "device_id";
    if (sizeof(event.messages) > 0 && event.messages[0].subType == DEVICE_ID_SUBTYPE) {
    if (event.messages.size() > 1 && event.messages[0].subType == DEVICE_ID_SUBTYPE) {
        mHal->mLooper
                ->sendMessage(new NotifyTvMessageHandler(mHal,
                                                         TvMessageEventWrapper::createEventWrapper(