I have all activities in portrait mode except the one that I use to play a video that is always landscape. I found that on Android 8.1 every time I open the video activity and close it the previous activity go to landscape even it's set to "portrait" on the manifest.
- Sometimes goes to portrait then to landscape and stay on landscape.
- Sometimes goes to portrait then to landscape and finally portrait again.
This is only happening when a go back from a activity that it's landscape.
There is anyone who is experiencing this?
Thanks.
EDIT
I report the bug on Google: https://issuetracker.google.com/issues/69168442
EDIT 2
It seems fixed on Android 9