Posts: 2
Threads: 1
Joined: Mar 2025
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
Posts: 14,379
Threads: 302
Joined: Apr 2012
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
Posts: 14,379
Threads: 302
Joined: Apr 2012
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
Posts: 2
Threads: 1
Joined: Mar 2025
(03-11-2025, 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