glob3mobile / g3m

The multiplatform advanced visualization framework
http://www.glob3mobile.com/
Other
117 stars 56 forks source link

API level 15 and bitmap isPremultiplied #168

Closed krisoft closed 8 years ago

krisoft commented 8 years ago

There is an isPremultiplied method call in the Image_Android.java file. That method is Android API level 17, while the G3M previously supported things from API level 15. Is the change in the target platform levels an intentional decision? If so, is there anything we can do to work around, and still support API 15 on our end?

link to the specific line: https://github.com/glob3mobile/g3m/blob/purgatory/Android/G3MAndroidSDK/src/org/glob3/mobile/specific/Image_Android.java#L168

krisoft commented 8 years ago

https://github.com/glob3mobile/g3m/commit/eef946258a89fc5c4edef8f7e2a56e737717acd6

This is how we patched around the issue in our version. Let me know if you think we should create a PR with the content of this commit.

krisoft commented 8 years ago

Thank you Diego for merging the corresponding pull request. I will close this issue then.