Files
android_development/samples/browseable/AutoBackupForApps/_index.jd
Trevor Johns 296083e2fc Sync sample prebuilts for mnc-dev
Synced with /developers/samples/android commit
415e5ce8ad7128bed20c28e923f2f91bbfff46a9.

Change-Id: I8716d051213210ec991fb692f79848a9f086a52c
2015-05-27 13:34:35 -07:00

17 lines
595 B
Plaintext

page.tags="Automatic Backup"
sample.group=Content
@jd:body
<p>
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 a utility to test the behavior of the Automatic Backup feature.
Executing "adb shell bmgr restore com.example.android.autobackup" from a terminal will cause the
sample\'s data to be cleared and replaced with a copy from the backup server.
</p>