Which allowBackup attribute is useful to understand if an app can be backup? A user on our site wanted to backup a game. For an unrooted device, the usual route to backup is either with Google Cloud Sync, or with adb. Both depends on the attribute allowBackup in the app manifest. If it is false, it won't be backup. That was my understanding, until now.
When reading the manifest of the game, I came across two entries for allowBackup. First one set to false (line 6), and the last one to true (line 70). I am trying to understand which one should I, an end-user, be concerned with to ascertain if the game/app can indeed be backup by adb or Google? An explanation, however brief, would be nice as to why there are two allowBackup attributes, and can there be more  than those two in an app/game?
Another confusing thing is that for regular apps (non-gaming apps), the attribute was always written as android:allowBackup=&lt;FLAG&gt;, but for the game here, it is game_display_name:allowBackup=&lt;FLAG&gt;. Is this convention game-specific? This part of the question is optional for you to answer.
I don't know what tool you used for decompiling AndroidManifest.xml but both apktool and Jadx do not show an game_display_name:allowBackup=... entry.
No matter what allowBackup entries you have the only entry that matters is the one in the &lt;application&gt; tag. See Android documentation: https://developer.android.com/guide/topics/manifest/application-element#allowbackup
The other one may be added by the developers because they have not read the documentation carefully.
However the game you are refferring to has a second relevant entry for backup: android:fullBackupContent:

This attribute points to an XML file that contains full backup rules for Auto Backup. These rules determine what files get backed up.

When I look at this XML file I see the following content:
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;full-backup-content&gt;
    &lt;exclude domain=&quot;sharedpref&quot; path=&quot;appsflyer-data&quot; /&gt;
&lt;/full-backup-content&gt;

From my understanding of this file format that means that the file(s) in /data/data/com.ironhorsegames.idlewasteland/shared_prefs/appsflyer-data* are excluded from backup.