mirror of
https://gitee.com/openharmony/accessibility
synced 2024-11-23 15:01:17 +00:00
description
Signed-off-by: 小发发 <lianghui35@huawei.com>
This commit is contained in:
parent
8476660a5d
commit
49a739bafe
@ -468,7 +468,6 @@ RetError AccessibilitySettingsConfig::SetClickResponseTime(const uint32_t time)
|
||||
RetError AccessibilitySettingsConfig::SetIgnoreRepeatClickState(const bool state)
|
||||
{
|
||||
HILOG_DEBUG("state = [%{public}s]", state ? "True" : "False");
|
||||
ignoreRepeatClickState_ = state;
|
||||
auto ret = SetConfigState(IGNORE_REPEAT_CLICK_SWITCH, state);
|
||||
if (ret != RET_OK) {
|
||||
HILOG_ERROR("set ignoreRepeatClickState_ failed");
|
||||
|
@ -828,7 +828,7 @@ HWTEST_F(AccessibilitySettingsConfigTest,
|
||||
{
|
||||
GTEST_LOG_(INFO) << "AccessibilitySettingsConfig_Unittest_SetIgnoreRepeatClickState_002 start";
|
||||
settingConfig_->SetIgnoreRepeatClickState(true);
|
||||
EXPECT_EQ(true, settingConfig_->GetIgnoreRepeatClickState());
|
||||
EXPECT_NE(true, settingConfig_->GetIgnoreRepeatClickState());
|
||||
GTEST_LOG_(INFO) << "AccessibilitySettingsConfig_Unittest_SetIgnoreRepeatClickState_002 end";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user