Skip to content

Fix possible NPE during refresh rate switch - #448

Merged
damontecres merged 2 commits into
mainfrom
fix/446
Dec 13, 2025
Merged

damontecres merged 2 commits into
mainfrom
fix/446

Conversation

@damontecres

@damontecres damontecres commented Dec 13, 2025 •

Copy link
Copy Markdown
Owner

Use current thread's looper or fallback to the main looper for the display change callback.

This is the behavior in newer versions of Android whereas older versions assumed a non-null looper.

Fixes #446

@damontecres damontecres added the bug Something isn't working label Dec 13, 2025
@damontecres damontecres changed the title Fix NPE on some devices w/o IO loopers Fix NPE during refresh rate switch Dec 13, 2025
@damontecres damontecres changed the title Fix NPE during refresh rate switch Fix possible NPE during refresh rate switch Dec 13, 2025
@damontecres
damontecres marked this pull request as ready for review December 13, 2025 22:56
@damontecres
damontecres merged commit a386028 into main Dec 13, 2025
2 checks passed
@damontecres
damontecres deleted the fix/446 branch December 13, 2025 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

1 participant