mirror of
https://gitee.com/openharmony/ability_dmsfwk
synced 2024-11-23 06:20:07 +00:00
add OnUserSwitched
Signed-off-by: dengxiaoyu <dengxiaoyu6@huawei.com>
This commit is contained in:
parent
cff2ba0a35
commit
d30c0ae3b4
@ -124,7 +124,7 @@ void CommonEventListener::OnUserSwitched()
|
||||
|
||||
DataShareManager::GetInstance().SetCurrentContinueSwitch(SwitchStatusDependency::GetInstance()
|
||||
.IsContinueSwitchOn());
|
||||
if (!dataShareManager.IsCurrentContinueSwitchOn()) {
|
||||
if (!DataShareManager::GetInstance().IsCurrentContinueSwitchOn()) {
|
||||
DMSContinueRecvMgr::GetInstance().OnContinueSwitchOff();
|
||||
HILOGI("ICurrentContinueSwitch is off, %{public}d", DataShareManager::GetInstance()
|
||||
.IsCurrentContinueSwitchOn());
|
||||
|
Loading…
Reference in New Issue
Block a user