remove debug log that too much

Signed-off-by: hwzhangchuang <zhangchuang.zhang@huawei.com>
This commit is contained in:
hwzhangchuang
2023-12-11 14:26:46 +08:00
parent 638416666e
commit 547c7eead6
2 changed files with 0 additions and 5 deletions
-4
View File
@@ -107,7 +107,6 @@ bool InputHub::IsInputNodeNoNeedScan(const std::string &path)
}
if (path.find(MOUSE_NODE_KEY) != std::string::npos) {
DHLOGD("Skip mouse node for no permission, path: %s", path.c_str());
return true;
}
@@ -116,7 +115,6 @@ bool InputHub::IsInputNodeNoNeedScan(const std::string &path)
void InputHub::ScanAndRecordInputDevices()
{
DHLOGD("Scan local input devices.");
ScanInputDevices(DEVICE_PATH);
{
@@ -506,12 +504,10 @@ std::vector<InputDevice> InputHub::GetAllInputDevices()
void InputHub::ScanInputDevices(const std::string &dirName)
{
DHLOGD("ScanInputDevices enter, dirName %s.", dirName.c_str());
std::vector<std::string> inputDevPaths;
ScanInputDevicesPath(dirName, inputDevPaths);
for (const auto &tempPath: inputDevPaths) {
if (IsInputNodeNoNeedScan(tempPath)) {
DHLOGD("This input node path should skip. Path: %s", tempPath.c_str());
continue;
}
OpenInputDeviceLocked(tempPath);
-1
View File
@@ -351,7 +351,6 @@ void ScanInputDevicesPath(const std::string &dirName, std::vector<std::string> &
continue;
}
std::string tmpDevName = dirName + "/" + std::string(de->d_name);
DHLOGD("Find input node path: %s", tmpDevName.c_str());
vecInputDevPath.push_back(tmpDevName);
}
closedir(dir);