mirror of
https://github.com/openharmony/miscservices_inputmethod.git
synced 2026-07-18 17:24:37 -04:00
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:
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user