You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched and made sure there are no existing issues for the issue I am filing
I have searched the existing issues
Description
When running the code below on Android and clicking the button multiple times you can see that around the 4th change it will restart the activity with this method.
After that it can be that is losing the content.
simplescreenrecorder-2023-05-04_13.50.30.mp4
If I remove that recreate part it will keep the content but doesn't update the mode all the time:
simplescreenrecorder-2023-05-04_13.53.13.mp4
There is a comment in the code
// Note: Works-around a Google bug where it doesn't always call the activity's onNightModeChanged() method.
I have searched and made sure there are no existing issues for the issue I am filing
Description
When running the code below on Android and clicking the button multiple times you can see that around the 4th change it will restart the activity with this method.
After that it can be that is losing the content.
simplescreenrecorder-2023-05-04_13.50.30.mp4
If I remove that recreate part it will keep the content but doesn't update the mode all the time:
simplescreenrecorder-2023-05-04_13.53.13.mp4
There is a comment in the code
Which might be referring to this behavior.
Looking at the logs I can see that it is showing
the first time and after a while it is
So the order is different and TiActivity is there twice. So perhaps there is something wrong with the Activity stack that is causing this issue.
Reproducible sample
Steps to reproduce
Platform
Android
SDK version you are using
12.2.0
Alloy version you are using
No response
The text was updated successfully, but these errors were encountered: