~aleteoryx/muditaos

06f6f9e0d79413aa71f0144f073e8cede8f5627f — Michał Kamoń 5 years ago ee8a5e4
[EGD-4475] ScreenlockCheckEvent handler bug fix (#1062)

2 files changed, 5 insertions(+), 2 deletions(-)

M changelog.md
M module-apps/application-desktop/ApplicationDesktop.cpp
M changelog.md => changelog.md +4 -0
@@ 7,6 7,10 @@
* `[gui][desktop]` Added SIM PIN basic flow implementation
* `[cellular]` Added CLIR, CLIP, COLP, call waiting MMI support

### Fixed

* `[desktop]` Fixed ScreenlockCheckEvent handler 

## [0.47.1 2020-11-20]

### Added

M module-apps/application-desktop/ApplicationDesktop.cpp => module-apps/application-desktop/ApplicationDesktop.cpp +1 -2
@@ 123,8 123,7 @@ namespace app
    auto ApplicationDesktop::handle(sdesktop::developerMode::ScreenlockCheckEvent *event) -> bool
    {
        if (event != nullptr) {
            auto event =
                std::make_unique<sdesktop::developerMode::ScreenlockCheckEvent>(true); // lockHandler.lock.isLocked());
            auto event = std::make_unique<sdesktop::developerMode::ScreenlockCheckEvent>(lockHandler.isScreenLocked());
            auto msg   = std::make_shared<sdesktop::developerMode::DeveloperModeRequest>(std::move(event));
            sys::Bus::SendUnicast(std::move(msg), service::name::service_desktop, this);
        }