androidgoogle-cloud-messagingandroid-backup-serviceandroid-lint

Why a lint warning about fullBackupContent warning when allowBackup is false?


For an app with android:allowBackup="false", Android lint reports:

Should explicitly set 'android:fullBackupContent' to avoid backing up the GCM device specific regId.

Is this just a bug in the lint rule, or do I really need to be concerned about the regId getting backed up and restored onto another device?


Solution

  • This was indeed a bug that was fixed in AS 1.4. Now you only get this lint warning when allowBackup="true" or the attribute is missing (which defaults to true)