Skip to content

Conversation

@sbarrio
Copy link
Contributor

@sbarrio sbarrio commented Feb 10, 2026

What does this PR do?

As reported by #1131, the logic on getDisplayMaxRefreshRate does not fallback gracefully to the default refresh rate if display.supportedModes happens to be an empty array, as it appears to happen on some Samsung foldable devices.

Motivation

The SDK should not crash the host app.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
  • If this PR is auto-generated, please make sure also to manually update the code related to the change

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.

1 participant