问题
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?
回答1:
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)
来源:https://stackoverflow.com/questions/31767619/why-a-lint-warning-about-fullbackupcontent-warning-when-allowbackup-is-false