This sample demonstrates how to selectively disable Automatic Backups in Android M, either by adjusting the location where data files are stored using getNoBackupFilesDir(), or by using a custom XML configuration file. This sample can also be used as…