• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Orientation lock doesn not work
#1
I am using MS on my new Lenovo Idea Tab with Android 14. MS Version 3.9.16.
If I mark a Song with "orientation lock" and I turn the Tablet into landscape mode - the lock doesn't work and the song gets rotated.
With my older Tablets this lock works fine.
What can I do? Peter
Reply
#2
I'm not sure if it's an Android 14+ issue, but something has fundamentally changed in the OS where the orientation lock doesn't work correctly. I am using the same API that I have always used (activity.setRequestedOrientation) which is the only method available to lock the orientation. If the OS ignores that request, there isn't anything I can do about it. You are better off dragging down from the top of the screen and toggling off the auto-rotation setting in the OS on Android 14+ if you need to lock the orientation.

Mike
Reply
#3
I see another developer posted about that here: https://stackoverflow.com/questions/7876...on-tablets

They included this statement from Google's documentation:

On Android 12 (API level 31) and higher, device manufacturers can configure their devices to ignore orientation restrictions specified by apps and instead use the restrictions to enforce compatibility modes.

So it looks like multiple manufacturers have chosen to ignore orientation restrictions on Android 12+.

Mike
Reply
#4
(Yesterday, 04:48 AM)Zubersoft Wrote: I see another developer posted about that here: https://stackoverflow.com/questions/7876...on-tablets

They included this statement from Google's documentation:

On Android 12 (API level 31) and higher, device manufacturers can configure their devices to ignore orientation restrictions specified by apps and instead use the restrictions to enforce compatibility modes.

So it looks like multiple manufacturers have chosen to ignore orientation restrictions on Android 12+.

Mike

Ok, thank you.

Peter
Reply




Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2025 MyBB Group.