Skip to content
Commit d93b91f1 authored by Duncan McNamara's avatar Duncan McNamara Committed by Nicolas Pomepuy
Browse files

AspectRatio: fix wrong orientation with locale

When setting a non default locale, the VideoPlayerActivity when in best
fit aspect ratio will not update it's configuration.orientation when
rotating, causing libvlc to assume that the orientation is still the one
used when starting the video. By forcing the orientation to its new
value in onConfigurationChange, this is fixed. Though it doesn't explain
why it has this behaviour in the first place. This is a workaround.

Fixes #2475
parent 9c63bd36
Loading
Loading
Loading
Pipeline #215008 passed with stage
in 7 minutes and 58 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment