I have tried to freeze orientation using:
First, don't use
setRequestedOrientation() if you can avoid it. Use the
android:screenOrientation attribute in your
<activity> manifest element instead.
Second, you will also need
android:configChanges="keyboardHidden|orientation" in your
<activity> manifest element to prevent the destroy/recreate cycle.