description

Signed-off-by: 小发发 <lianghui35@huawei.com>
This commit is contained in:
小发发 2024-09-19 11:34:27 +08:00
parent 07526998de
commit f6afb29e2e
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ public:
RetError RemoveEnabledAccessibilityService(const std::string &serviceName);
uint32_t GetConfigState();
bool GetStartFromAtoHosState();
void CloneShortkeyService(bool isScreenReaderEnabled);
void CloneShortkeyService(bool isScreenReaderEnabled);
void OnDataClone();
void CloneAudioState();
void InitShortKeyConfig();

View File

@ -486,7 +486,7 @@ void AccessibilitySettings::UpdateSettingsInAtoHosStatePart(ConfigValueAtoHosUpd
accountData->GetConfig()->SetShortKeyState(true);
}
bool shortKeyOnLockScreenAutoOn = false;
if (atoHosValue.shortcutTimeout == 1){
if (atoHosValue.shortcutTimeout == 1) {
accountData->GetConfig()->SetShortKeyTimeout(SHORT_KEY_TIMEOUT_AFTER_USE);
if (atoHosValue.shortcutEnabledOnLockScreen == INVALID_SHORTCUT_ON_LOCK_SCREEN_STATE) {
shortKeyOnLockScreenAutoOn = true;