From: Jean Privat Date: Wed, 29 Nov 2017 15:40:51 +0000 (-0500) Subject: Merge: android: adaptive icons, free memory on demand and use same package in debug... X-Git-Url: http://nitlanguage.org?hp=401b060654f1ec97d43f9fddda13b17002582355 Merge: android: adaptive icons, free memory on demand and use same package in debug mode This PR extends the new Android compilation toolchain: * Add support for adaptive icons from Android 8 Oreo (and the older `roundIcon`), see https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive.html. It should detect the icons structure generated by Android Studio 3. * Tweak the GC compilation options to make it more stable and support releasing memory when the Android system sends the `onLowMemory` message. * Don't change the app name and package/namespace when compiling in debug mode. While this allowed to easily install both the release and the debug version of the same app on a device, it could be unexpected and it was not compatible with some Google services linked to a precise package name. The old behavior can be reproduced in standard Nit code by using a debug variant like so: ~~~ module asteronits_debug is app_name "Asteronits debug" app_namespace "org.nitlanguage.asteronits_debug" end import asteronits ~~~ Pull-Request: #2589 ---