Android: Add isGame application attribute, default to true

It can be turned off in the export preset with `package/classify_as_game`.

Upstream definition: https://developer.android.com/guide/topics/manifest/application-element#isGame

> `android:isGame`
>
> Whether or not the application is a game. The system may group together
> applications classifed as games or display them separately from other
> applications.

Also fixes replacing `android:allowBackup` in custom builds.
This commit is contained in:
Rémi Verschelde
2021-06-30 18:44:33 +02:00
parent a02620f3a5
commit 40a594c6ea
3 changed files with 16 additions and 5 deletions

View File

@@ -19,8 +19,9 @@
<application
android:label="@string/godot_project_name_string"
android:allowBackup="false"
tools:ignore="GoogleAppIndexingWarning"
android:icon="@mipmap/icon" >
android:icon="@mipmap/icon"
android:isGame="true"
tools:ignore="GoogleAppIndexingWarning" >
<!-- Records the version of the Godot editor used for building -->
<meta-data