Yesterday, 04:44 AM
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
Mike