~aleteoryx/muditaos

63c1a413c48eea8935ed0e1fbd6d23357db3855b — Kuba Kleczkowski 2 years ago f3e8f68
[MOS-960] Fixed SMS flow after failed try in Offline

SMS handling is now fixed after attempt to send SMS in offline mode.
After SMS was rejected by Offline mode, Pure was not able to send
any message until device reboot.
1 files changed, 1 insertions(+), 1 deletions(-)

M module-services/service-cellular/src/SMSSendHandler.cpp
M module-services/service-cellular/src/SMSSendHandler.cpp => module-services/service-cellular/src/SMSSendHandler.cpp +1 -1
@@ 95,7 95,7 @@ namespace cellular::internal::sms
            LOG_ERROR("Failed to send SMS");
            record->type = SMSType::FAILED;
            context.onSendQuery(db::Interface::Name::SMS, std::make_unique<db::query::SMSUpdate>(std::move(*record)));
            return {};
            return std::make_unique<IdleState>(context);
        }

        context.onSend(*record);