commit | 1b9a4feddd33ff5d82331b44212f14724327da4f | [log] [tgz] |
---|---|---|
author | Torsten Grote <t@grobox.de> | Mon Aug 31 17:20:01 2020 -0300 |
committer | Chirayu Desai <952062+chirayudesai@users.noreply.github.com> | Fri Sep 11 19:04:38 2020 +0530 |
tree | a08dfd39ea23f7e830950a6a93f0a8a4cfcc26b0 | |
parent | 80187c8c700eaf1d37be0872c6bcfad18c4b8f9a [diff] |
Clean up backup transport initialization logic This commit makes creating new RestoreSets explicit. Initializing a backup transport now actually cleans its data as the AOSP documentation demands. This should be fine as we usually do a fresh backup after a new initialization. Contrary to before, an initialization does not create new RestoreSets anymore, but works within the existing set. For now, only manually choosing a new storage location creates a new RestoreSet.
A backup application for the Android Open Source Project.
This application is compiled with the operating system and does not require a rooted device for use. It uses the same internal APIs as adb backup
which is deprecated and thus needs a replacement.
android.permission.BACKUP
to back up application data.android.permission.MANAGE_DOCUMENTS
to retrieve the available storage roots.android.permission.MANAGE_USB
to access the serial number of USB mass storage devices.android.permission.WRITE_SECURE_SETTINGS
to change system backup settings.android.permission.INSTALL_PACKAGES
to re-install apps when restoring from backup.Bug reports and pull requests are welcome on GitHub at https://github.com/stevesoltys/seedvault.
This application is available as open source under the terms of the Apache-2.0 License.