mirror of
https://github.com/Genymobile/scrcpy
synced 2025-08-30 22:05:12 +00:00
Log characters failed to be injected
Some characters may not be injected (e.g. '\r`). Log them instead of ignoring them silently.
This commit is contained in:
@@ -108,6 +108,7 @@ public class EventController {
|
||||
int successCount = 0;
|
||||
for (char c : text.toCharArray()) {
|
||||
if (!injectChar(c)) {
|
||||
Ln.w("Could not inject char u+" + String.format("%04x", (int) c));
|
||||
continue;
|
||||
}
|
||||
successCount++;
|
||||
|
Reference in New Issue
Block a user