We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1618 - Changeset 6555 raises minimum Android SDK version to 11
Summary: Changeset 6555 raises minimum Android SDK version to 11
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: main (show other bugs)
Version: HG 2.0
Hardware: ARM Android (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-09 07:38 UTC by Joseba García Echebarria
Modified: 2012-11-02 18:43 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseba García Echebarria 2012-10-09 07:38:10 UTC
Changeset 6555 (http://hg.libsdl.org/SDL/rev/f2c03c06d987) uses  IME_FLAG_NO_FULLSCREEN which, according to the Android documentation (http://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_FLAG_NO_FULLSCREEN) was introduced in Android SDK 11 but the rest of the build files refer to android-5 as required version.
Comment 1 Philipp Wiesemann 2012-10-09 11:10:49 UTC
This could be fixed by replacing the line

                | EditorInfo.IME_FLAG_NO_FULLSCREEN;

with

                | 33554432 /* API 11: EditorInfo.IME_FLAG_NO_FULLSCREEN */;

which should work for API level 5 and higher because the Java compiler would inline static final ints anyway.

The file README.Platforms lists Android 1.6. This may be changed to 2.0 which is API level 5. And it lists Windows CE.
Comment 2 Sam Lantinga 2012-11-02 18:43:29 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/47ab7ba21530