diff --git a/Android.bp b/Android.bp index 258391b7..08bb45b4 100644 --- a/Android.bp +++ b/Android.bp @@ -44,7 +44,8 @@ android_app { required: [ "LocalContactsBackup", "privapp_whitelist_com.stevesoltys.backup", - "com.stevesoltys.backup_whitelist" + "com.stevesoltys.backup_whitelist", + "SeedvaultOverlay", ], optimize: { enabled: false, diff --git a/README.md b/README.md index 21e15945..3144fee8 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,6 @@ A backup application for the [Android Open Source Project](https://source.androi For older versions of Android, check out [the branches](https://github.com/stevesoltys/seedvault/branches). -## Getting Started -- Check out [the wiki](https://github.com/stevesoltys/seedvault/wiki) for information on building the application with -AOSP. - ## What makes this different? 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. @@ -43,5 +39,15 @@ The [Seedvault backup parser](https://github.com/tlambertz/seedvault_backup_pars allows you to decrypt and inspect your backups. It can also re-encrypt them. +## AOSP build + +To build in AOSP, add +``` + + +``` +to your manifest.xml +And add `PRODUCT_PACKAGES += Seedvault` in your device.mk + ## License This application is available as open source under the terms of the [Apache-2.0 License](https://opensource.org/licenses/Apache-2.0). diff --git a/overlay/Android.bp b/overlay/Android.bp new file mode 100644 index 00000000..cf3c871e --- /dev/null +++ b/overlay/Android.bp @@ -0,0 +1,4 @@ +runtime_resource_overlay { + name: "SeedvaultOverlay", + product_specific: true +} diff --git a/overlay/AndroidManifest.xml b/overlay/AndroidManifest.xml new file mode 100644 index 00000000..a102dcfc --- /dev/null +++ b/overlay/AndroidManifest.xml @@ -0,0 +1,8 @@ + + + diff --git a/overlay/res/values/config.xml b/overlay/res/values/config.xml new file mode 100644 index 00000000..0a93b69e --- /dev/null +++ b/overlay/res/values/config.xml @@ -0,0 +1,5 @@ + + + true + com.stevesoltys.seedvault.transport.ConfigurableBackupTransport +