description

Signed-off-by: 小发发 <lianghui35@huawei.com>
This commit is contained in:
小发发 2024-11-15 16:54:08 +08:00
parent 33bbbc6bc9
commit 1e1a733740
5 changed files with 5 additions and 5 deletions

View File

@ -94,7 +94,7 @@ public:
RetError AddEnabledAccessibilityService(const std::string &serviceName);
RetError RemoveEnabledAccessibilityService(const std::string &serviceName);
uint32_t GetConfigState();
bool GetStartFromAtoHosState();
bool GetStartToHosState();
void SetDefaultShortcutKeyService();
void InitSetting();
void CloneShortkeyService(bool isScreenReaderEnabled);

View File

@ -723,7 +723,7 @@ RetError AccessibilitySettingsConfig::RemoveEnabledAccessibilityService(const st
return datashare_->PutStringValue(ENABLED_ACCESSIBILITY_SERVICES, stringOut);
}
bool AccessibilitySettingsConfig::GetStartFromAtoHosState()
bool AccessibilitySettingsConfig::GetStartToHosState()
{
HILOG_DEBUG();
if (!datashare_) {

View File

@ -2107,7 +2107,7 @@ void AccessibleAbilityManagerService::UpdateSettingsInAtoHos()
return;
}
if (!accountData->GetConfig()->GetStartFromAtoHosState() || currentAccountId_ != DEFAULT_ACCOUNT_ID) {
if (!accountData->GetConfig()->GetStartToHosState() || currentAccountId_ != DEFAULT_ACCOUNT_ID) {
HILOG_INFO("Not first start from a to hos.");
return;
}

View File

@ -375,7 +375,7 @@ uint32_t AccessibilitySettingsConfig::GetConfigState()
return state;
}
bool AccessibilitySettingsConfig::GetStartFromAtoHosState()
bool AccessibilitySettingsConfig::GetStartToHosState()
{
return true;
}

View File

@ -375,7 +375,7 @@ uint32_t MockAccessibilitySettingsConfig::GetConfigState()
return state;
}
bool MockAccessibilitySettingsConfig::GetStartFromAtoHosState()
bool MockAccessibilitySettingsConfig::GetStartToHosState()
{
return true;
}