[fix] restrict sensitive information in release logs

This commit is contained in:
dijunkun committed 2026-11-11 02:13:59 +08:00
1 parent 67afb25c75
commit 6a8e79d4a9
19 files changed
+87 -91

No files matched your search

@@ -379,8 +379,8 @@ bool KeyboardController::ReleaseRemotePressedKeysLocked(
if (state_it != remote_states_.end()) {
const auto& keys = state_it->second.pressed_keys;
if (!keys.empty()) {
LOG_WARN("Releasing {} remote keyboard keys for remote_id={}, reason={}",
keys.size(), remote_id, reason ? reason : "unknown");
LOG_WARN("Releasing {} remote keyboard keys, reason={}", keys.size(),
reason ? reason : "unknown");
}
// Stage before erasing: subsequent dispatcher retries must still see the
// keys if injection fails, even though active/heartbeat state is gone.