delete PowerMgr::PowerMgrClient::GetInstance().RefreshActivity

Signed-off-by: Mupceet <laiguizhong@huawei.com>
This commit is contained in:
Mupceet 2022-03-09 11:27:43 +08:00
parent 199b4db95b
commit 41f1294d8f
3 changed files with 0 additions and 5 deletions

View File

@ -20,7 +20,6 @@
#include "accessibility_zoom_handler.h" #include "accessibility_zoom_handler.h"
#include "accessible_ability_manager_service.h" #include "accessible_ability_manager_service.h"
#include "hilog_wrapper.h" #include "hilog_wrapper.h"
#include "power_mgr_client.h"
#include "key_event.h" #include "key_event.h"
#include "input_event.h" #include "input_event.h"

View File

@ -16,7 +16,6 @@
#include "accessibility_keyevent_filter.h" #include "accessibility_keyevent_filter.h"
#include "accessible_ability_manager_service.h" #include "accessible_ability_manager_service.h"
#include "hilog_wrapper.h" #include "hilog_wrapper.h"
#include "power_mgr_client.h"
namespace OHOS { namespace OHOS {
namespace Accessibility { namespace Accessibility {
@ -81,8 +80,6 @@ void KeyEventFilter::SetServiceOnKeyEventResult(AccessibleAbilityConnection &con
} }
} else { } else {
timeouthandler_->RemoveEvent(processingEvent->seqNum_); timeouthandler_->RemoveEvent(processingEvent->seqNum_);
PowerMgr::PowerMgrClient::GetInstance().RefreshActivity(
PowerMgr::UserActivityType::USER_ACTIVITY_TYPE_ACCESSIBILITY);
RemoveProcessingEvent(processingEvent); RemoveProcessingEvent(processingEvent);
} }
} }

View File

@ -16,7 +16,6 @@
#include "accessibility_keyevent_filter.h" #include "accessibility_keyevent_filter.h"
#include "accessible_ability_manager_service.h" #include "accessible_ability_manager_service.h"
#include "hilog_wrapper.h" #include "hilog_wrapper.h"
#include "power_mgr_client.h"
bool g_testKeyEvent = false; bool g_testKeyEvent = false;
namespace OHOS { namespace OHOS {