diff --git a/services/aams/src/accessibility_settings_config.cpp b/services/aams/src/accessibility_settings_config.cpp index fd50c353..8eb79d62 100644 --- a/services/aams/src/accessibility_settings_config.cpp +++ b/services/aams/src/accessibility_settings_config.cpp @@ -841,7 +841,7 @@ void AccessibilitySettingsConfig::InitShortKeyConfig() SetShortKeyOnLockScreenState(isShortKeyEnabledOnLockScreen == 1); } - auto ret = dataShare_->PutIntValue(SHORTCUT_ON_LOCK_SCREEN, INVALID_SHORTCUT_ON_LOCK_SCREEN_STATE); + auto ret = datashare_->PutIntValue(SHORTCUT_ON_LOCK_SCREEN, INVALID_SHORTCUT_ON_LOCK_SCREEN_STATE); if (ret != RET_OK) { HILOG_ERROR("reset shortcut on lock screen failed"); }