~aleteoryx/muditaos

a446a30afec571aaf89289bd9701c0986985cebd — RobertPiet 5 years ago b6a46e8
[EGD-4960] lockScreenPasscodeIsOn is a global setting
1 files changed, 2 insertions(+), 1 deletions(-)

M module-apps/Application.cpp
M module-apps/Application.cpp => module-apps/Application.cpp +2 -1
@@ 501,7 501,8 @@ namespace app

        settings->registerValueChange(
            settings::SystemProperties::lockScreenPasscodeIsOn,
            [this](const std::string &value) { setLockScreenPasscodeOn(utils::getNumericValue<bool>(value)); });
            [this](const std::string &value) { setLockScreenPasscodeOn(utils::getNumericValue<bool>(value)); },
            settings::SettingsScope::Global);
        return sys::ReturnCodes::Success;
    }