SDL 2.0.7 Android ChangeOrientation issue

Waht happened with screen orientation handling? To fix this problem I have override Java Method of SDLActivity

    @Override
public void setOrientationBis(int w, int h, boolean resizable, String hint) {
    setRequestedOrientation(10);
}

It should be fixed in the latest SDL snapshot:
http://www.libsdl.org/tmp/SDL-2.0.zip

May be I’m doing something wrong but it doesn’t works for me with this snapshot version.

Maybe you forgot to update the android manifest, this line

android:configChanges=“keyboardHidden|orientation|screenSize”

has been extended because the target API version has changed.
---------- Původní e-mail ----------
Od: akk0rd87 noreply@discourse.libsdl.org
Komu: hardcoredaniel@seznam.cz
Předmět: Re: [SDL] SDL 2.0.7 Android ChangeOrientation issue
"

 akk0rd87(https://discourse.libsdl.org/u/akk0rd87) 

November 1

May be I’m doing something wrong but it doesn’t works for me with this
snapshot version.

hardcoredaniel, thanks, but I have these settings in manifest file. May be I need to pass SDL_WINDOW_RESIZABLE flag to SDL_CreateWindow. I’ll check it when come back home.

Orientation should not be defined anymore in your AndroidManifest.xml file.

Depending on the width/height window (when you call SDL_CreateWindow()) :
if (width > height), you’ll be in landscape, otherwise in portrait.

You can also use the orientation hint.

This is to match IOS behavior.

if you use the resizable flag, you won’t have any fixed orientation set.

Where can I find a list of what changes to an application are required in order that it will run properly with SDL 2.0.7? I have made this point before, but the SDL version number is defined here as major.minor.patch so I would not have expected a change in the ‘patch’ field (i.e. 2.0.6 to 2.0.7) to introduce any significant incompatibilities.

Indeed, all changes are not listed. And intermediate releases only intend not break ABI compatibility.
The best way is to have to follow changes on https://hg.libsdl.org/SDL/