Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AxmolActivity refactoring and fixes #2185

Merged
merged 4 commits into from
Sep 28, 2024

Conversation

smilediver
Copy link
Contributor

This PR refactors and simplifies how the state of the app activity is managed and also:

  • Fixes nativeOnResume() not being called after a system popup is displayed. (Easy repro: turn on bluetooth in quick settings menu and wait couple seconds for a popup to show up, then close it).
  • Fix AxmolRenderer forgetting paused state when AxmolActivity is relaunched, during which the old objects are destroyed and recreated. (Easy repro: in Android settings change global font size).

I have tested this extensively on several devices, and everything seems to work. But it would be nice if more people tested it.

@AlexandreK38
Copy link
Contributor

I also faced the popup issue and started a fix but saw this PR; I tried and it seems to work fine

@halx99 halx99 added this to the 2.2 milestone Sep 27, 2024
@halx99 halx99 merged commit 62eebaa into axmolengine:dev Sep 28, 2024
15 checks passed
@halx99
Copy link
Collaborator

halx99 commented Sep 28, 2024

lgtm, merged

@smilediver smilediver deleted the fix_axmolactivity branch October 4, 2024 14:20
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.

3 participants