nitc/android: "handle" all config changes
authorAlexis Laferrière <alexis.laf@xymus.net>
Mon, 26 Jan 2015 19:45:19 +0000 (14:45 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 27 Jan 2015 02:05:52 +0000 (21:05 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

src/platform/android.nit

index f3a2a27..db28b7f 100644 (file)
@@ -179,7 +179,8 @@ $(call import-module,android/native_app_glue)
                android:label="@string/app_name"
                android:hasCode="true"
                android:debuggable="{{{not release}}}"
-               {{{icon_declaration}}}>
+               {{{icon_declaration}}}
+               android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation">
 
         <!-- Our activity is the built-in NativeActivity framework class.
              This will take care of integrating with our NDK code. -->