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);
}