Skip to content

fix(gui): use UI thread for adding logcat messages - #2811

Merged
skylot merged 2 commits into
skylot:masterfrom
jpstotz:adb
Mar 4, 2026
Merged

fix(gui): use UI thread for adding logcat messages#2811
skylot merged 2 commits into
skylot:masterfrom
jpstotz:adb

Conversation

@jpstotz

@jpstotz jpstotz commented Feb 28, 2026

Copy link
Copy Markdown
Collaborator

The logcat messages were also added without proper UI synchronization.

I also made other improvements to adb and logcat handling like never closed sockets and never terminated executor.

Also the LogUtils.escape method was a bit restrictive what it filters out. I was very confused as this "log escaper" modified the ADB commands printed in the log. I relaxed that a bit.

As long term solution we may consider switching to org.apache.commons.text.StringEscapeUtils.escapeJava(...).

other minor/logging improvements for debugger and adb connection

@skylot skylot left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks

@skylot
skylot merged commit ff778ab into skylot:master Mar 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants