Android: Update SDLActivity to 2.0.3 #392

Merged
merged 6 commits into from Jan 18, 2015

Projects

None yet

3 participants

@Ghabry
Member
Ghabry commented Jan 17, 2015

RESOLVED: One bug left: After ending one game logcat is spammed with "W/dalvikvm(19986): Exception thrown (Ljava/lang/NullPointerException;) while throwing internal exception (Ljava/lang/NullPointerException;)" when closing the first game and then no other game starts anymore...
and no game starts anymore. I assume SDL doesnt terminate correctly.

RESOLVED:
On some devices (Samsung e.g.) the game is reddish. This is a SDL 2.0.3 bug.
https://bugzilla.libsdl.org/show_bug.cgi?id=2291
Workaround: Disable hardware overlays in the developer options of your device :(

Ghabry added some commits Jan 17, 2015
@Ghabry Ghabry Android: Update SDLActivity to 2.0.3
a168a48
@Ghabry Ghabry Target API12 for joystick support (min is still 10) dba7d47
@MarianoGnu

Why do you do this? both blocks do the same.

Owner

Oh that was to workaround a compile error because the classes weren't available in API10. But I figured out now how to compile with API12 and still support API10 (Android 2.3.3)

Ghabry added some commits Jan 18, 2015
@Ghabry Ghabry Android: Workaround SDL bug: https://bugzilla.libsdl.org/show_bug.cgi…
5083dca
@Ghabry Ghabry Android: Reset versionCode and versionName
c28ddf0
@Ghabry Ghabry Replace EventFilter with a WaitEvent-loop because of Android doesn't …
…wait at the filter
2a43447
@Ghabry Ghabry Player::Exit wasn't called. Fixes resuming in Android, yeah!
063b5a9
@Ghabry
Member
Ghabry commented Jan 18, 2015

Android should work again now :)

Ready for merge

@fdelapena fdelapena merged commit 0151e56 into EasyRPG:master Jan 18, 2015

2 checks passed

continuous-integration/travis-ci The Travis CI build passed
Details
default Merged build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment