ShwoDisplayIdList日志重复打印

Signed-off-by: Krishhu <geluyao1@h-partners.com>
This commit is contained in:
Krishhu 2024-11-15 11:47:43 +08:00
parent a9bab69a55
commit bf34e3b768

View File

@ -877,9 +877,9 @@ void DisplayManager::ShowDisplayIdList(bool isShowLog)
oss << iter.second << ",";
}
if (isShowLog) {
WLOGFD("%{public}s]", oss.str().c_str());
} else {
WLOGFI("%{public}s]", oss.str().c_str());
} else {
WLOGFD("%{public}s]", oss.str().c_str());
}
}