OdyseeTeam / odysee-android

The Odysee Android app with wallet functionality
MIT License
136 stars 27 forks source link

file view player: auto exit fullscreen when switching to portrait #415

Closed ktprograms closed 1 year ago

ktprograms commented 1 year ago

This reverts the orientation lock (preventing the player from leaving fullscreen) added in https://github.com/lbryio/lbry-android/commit/540a8412.

PR Checklist

Please check all that apply to this PR using "x":

PR Type

What kind of change does this PR introduce?

Fixes

Issue Number: N/A

What is the current behavior?

Player doesn't exit fullscreen when rotating phone, orientation locked in landscape when player is in fullscreen.

What is the new behavior?

Remove orientation lock, automatically exit fullscreen when rotating to portrait.

Other information

I tested this with the situation I'm assuming was described in https://github.com/lbryio/lbry-android/commit/540a8412, i.e. going to/from the global PiP player when in fullscreen mode.