1 2page.tags="Automatic Backup" 3sample.group=Content 4@jd:body 5 6<p> 7 8This sample demonstrates how to selectively disable Automatic Backups in Android M, either by 9adjusting the location where data files are stored using getNoBackupFilesDir(), or by using a custom 10XML configuration file. 11 12This sample can also be used as a utility to test the behavior of the Automatic Backup feature. 13Executing "adb shell bmgr restore com.example.android.autobackup" from a terminal will cause the 14sample\'s data to be cleared and replaced with a copy from the backup server. 15 16 </p> 17