description

Signed-off-by: 小发发 <lianghui35@huawei.com>
This commit is contained in:
小发发 2024-11-13 16:35:04 +08:00
parent 641f69b6a0
commit 3acfae6318

View File

@ -826,7 +826,6 @@ void AccessibilitySettingsConfig::InitShortKeyConfig()
isShortKeyState_ = datashare_->GetBoolValue(SHORTCUT_ENABLED, true);
bool isShortKeyEnabledOnLockScreen = datashare_->GetBoolValue(SHORTCUT_ENABLED_ON_LOCK_SCREEN, true);
shortKeyTimeout_ = static_cast<int32_t>(datashare_->GetIntValue(SHORTCUT_TIMEOUT, SHORT_KEY_TIMEOUT_BEFORE_USE));
// for AOS to HMOS
if (shortKeyTimeout_ == 1) {
SetShortKeyTimeout(SHORT_KEY_TIMEOUT_AFTER_USE);