~aleteoryx/muditaos

7dc4d07de3feb476bc5c6cc7108e5cafaf439501 — mkamonMdt 5 years ago b92c402
[EGD-4648] Fix auto screen change

Action `UnlockSim` should be handled only if
there is ongoing SIM flow processing.
2 files changed, 5 insertions(+), 2 deletions(-)

M changelog.md
M module-apps/application-desktop/widgets/PinLockHandler.cpp
M changelog.md => changelog.md +1 -0
@@ 14,6 14,7 @@

### Fixed

* Fix auto unlock screen on idle
* Fix missing texts for ApplicationDesktop windows

### Changed

M module-apps/application-desktop/widgets/PinLockHandler.cpp => module-apps/application-desktop/widgets/PinLockHandler.cpp +4 -2
@@ 106,9 106,11 @@ namespace gui
    void PinLockHandler::handleUnlockSim(app::manager::actions::ActionParamsPtr &&data)
    {
        LOG_DEBUG("Handling UnlockSim action");
        simLock.lockState   = PinLock::LockState::Unlocked;
        promptSimLockWindow = false;
        unlock();
        if (!simLock.isState(PinLock::LockState::Unlocked)) {
            simLock.lockState = PinLock::LockState::Unlocked;
            unlock();
        }
    }

    void PinLockHandler::handleCMEError(app::manager::actions::ActionParamsPtr &&data) const