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

The app content may disappear after rotating on an emulator where a big document is open #141

Open
mkulesh opened this issue Apr 20, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@mkulesh
Copy link
Owner

mkulesh commented Apr 20, 2024

Follow-up issue after #136:
After rotating an emulator where square_wave_oscillator example is open, the content disappears and app is not more usable.

Analysis: in the onCreate method, also check whether the input bundle is empty:

instanceStateEmpty = savedInstanceState == null || savedInstanceState.isEmpty();

instead of

instanceStateEmpty = savedInstanceState == null;

Note: this problem is only observed on an Android 14 emulator, not on a real device.

@mkulesh mkulesh added the bug label Apr 20, 2024
@mkulesh mkulesh added this to the Analized milestone Apr 20, 2024
@mkulesh mkulesh self-assigned this Apr 20, 2024
@mkulesh mkulesh changed the title The app content may disappear when rotating an emulator where a big document is open The app content may disappear after rotating on an emulator where a big document is open Apr 21, 2024
mkulesh added a commit that referenced this issue Apr 21, 2024
…e a big document is open: fixed in free branch
@mkulesh mkulesh modified the milestones: Analized, In work Apr 21, 2024
@mkulesh
Copy link
Owner Author

mkulesh commented Apr 21, 2024

Released in version 1.24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

1 participant