mirror of
https://gitee.com/openharmony/accessibility
synced 2024-11-27 00:51:07 +00:00
description
Signed-off-by: 小发发 <lianghui35@huawei.com>
This commit is contained in:
parent
33bbbc6bc9
commit
1e1a733740
@ -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);
|
||||
|
@ -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_) {
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -375,7 +375,7 @@ uint32_t AccessibilitySettingsConfig::GetConfigState()
|
||||
return state;
|
||||
}
|
||||
|
||||
bool AccessibilitySettingsConfig::GetStartFromAtoHosState()
|
||||
bool AccessibilitySettingsConfig::GetStartToHosState()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -375,7 +375,7 @@ uint32_t MockAccessibilitySettingsConfig::GetConfigState()
|
||||
return state;
|
||||
}
|
||||
|
||||
bool MockAccessibilitySettingsConfig::GetStartFromAtoHosState()
|
||||
bool MockAccessibilitySettingsConfig::GetStartToHosState()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user