Signed-off-by: GlaryCastle <yangpeng190@huawei.com>

Changes to be committed:
	modified:   frameworks/inputmethod_controller/include/input_method_controller.h
	modified:   frameworks/inputmethod_controller/src/input_method_controller.cpp
	modified:   services/dfx/include/inputmethod_trace.h
	modified:   services/src/input_method_system_ability.cpp
This commit is contained in:
GlaryCastle
2022-07-05 17:59:05 +08:00
parent f226e6953f
commit 4b9c4f0dac
4 changed files with 10 additions and 13 deletions
@@ -17,19 +17,20 @@
#ifndef FRAMEWORKS_INPUTMETHOD_CONTROLLER_INCLUDE_INPUT_METHOD_CONTROLLER_H
#define FRAMEWORKS_INPUTMETHOD_CONTROLLER_INCLUDE_INPUT_METHOD_CONTROLLER_H
#include "global.h"
#include <mutex>
#include <thread>
#include "input_data_channel_stub.h"
#include "input_client_stub.h"
#include "input_method_system_ability_proxy.h"
#include "input_method_agent_proxy.h"
#include "global.h"
#include "i_input_method_agent.h"
#include "message_handler.h"
#include "iremote_object.h"
#include "input_client_stub.h"
#include "input_data_channel_stub.h"
#include "input_method_agent_proxy.h"
#include "input_method_system_ability_proxy.h"
#include "input_method_utils.h"
#include "key_event.h"
#include "ipc_skeleton.h"
#include "iremote_object.h"
#include "key_event.h"
#include "message_handler.h"
namespace OHOS {
namespace MiscServices {
@@ -85,9 +85,7 @@ using namespace MessageID;
}
int32_t uid = IPCSkeleton::GetCallingUid();
std::string strBundleName;
strBundleName = "com.inputmethod.default";
std::string strBundleName = "com.inputmethod.default";
auto systemAbility = systemAbilityManager->GetSystemAbility(INPUT_METHOD_SYSTEM_ABILITY_ID, "");
if (!systemAbility) {
IMSA_HILOGI("InputMethodController::GetImsaProxy systemAbility is nullptr");
-1
View File
@@ -20,7 +20,6 @@
namespace OHOS {
namespace MiscServices {
void InitHiTrace();
void ValueTrace(const std::string &name, int64_t count);
class InputmethodTrace {
@@ -144,7 +144,6 @@ namespace MiscServices {
void InputMethodSystemAbility::DumpAllMethod(int fd)
{
IMSA_HILOGI("InputMethodSystemAbility::DumpAllMethod");
// dprintf(fd, "\n - dump all method:\n");
int32_t uid = IPCSkeleton::GetCallingUid();
int32_t userId = getUserId(uid);
std::vector<InputMethodProperty *> properties;