[Android] App stuck in landscape rotation after background
Describe the bug After backgrounding the app for a while with a full screen landscaped YT video, the app is stuck in landscape mode and will not rotate into portrait until the next restart.
To Reproduce Steps to reproduce the behavior:
- Load a post with an embedded YouTube video
- Play the video in landscape/full screen
- Background the app
- Wait for a long period (> 10 mins). Open other apps, or generally use device to ensure app is moved into suspension.
- Reopen app in portrait orientation, notice the app restarts to main thread screen but locked in landscape orientation. Can freely rotate to other landscape orientation but not to portrait.
Expected behavior App starts in the correct orientation, and can rotate freely to all supported orientations
Screenshots
Device (please complete the following information):
Pixel 7 running Android 14
Is this still an issue after the youtube playing fix?
@jwr1 - I managed to replicate this overnight, unfortunately. Same steps, though I had then left it overnight and when reopening the app it was stuck in Landscape mode
Ok, thanks. I'll reopen it.
I haven't noticed this issue at all, and we've had a lot of updates since this was opened, so I'm going to go ahead and close the issue. If anybody does notice this again, we can reopen it.