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

放肆的年华 提交于 2019-12-05 02:29:31

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!