Add SeedvaultOverlay RRO to reduce ASOP integretion steps
This commit is contained in:
parent
72ba4fa452
commit
c4e023089e
5 changed files with 29 additions and 5 deletions
|
|
@ -44,7 +44,8 @@ android_app {
|
||||||
required: [
|
required: [
|
||||||
"LocalContactsBackup",
|
"LocalContactsBackup",
|
||||||
"privapp_whitelist_com.stevesoltys.backup",
|
"privapp_whitelist_com.stevesoltys.backup",
|
||||||
"com.stevesoltys.backup_whitelist"
|
"com.stevesoltys.backup_whitelist",
|
||||||
|
"SeedvaultOverlay",
|
||||||
],
|
],
|
||||||
optimize: {
|
optimize: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
|
|
|
||||||
14
README.md
14
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).
|
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?
|
## What makes this different?
|
||||||
This application is compiled with the operating system and does not require a rooted device for use.
|
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.
|
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.
|
allows you to decrypt and inspect your backups.
|
||||||
It can also re-encrypt them.
|
It can also re-encrypt them.
|
||||||
|
|
||||||
|
## AOSP build
|
||||||
|
|
||||||
|
To build in AOSP, add
|
||||||
|
```
|
||||||
|
<remote name="seedvault-github" fetch="https://github.com/seedvault-app/" />
|
||||||
|
<project path="vendor/seedvault" name="seedvault" remote="seedvault-github" revision="master" />
|
||||||
|
```
|
||||||
|
to your manifest.xml
|
||||||
|
And add `PRODUCT_PACKAGES += Seedvault` in your device.mk
|
||||||
|
|
||||||
## License
|
## License
|
||||||
This application is available as open source under the terms of the [Apache-2.0 License](https://opensource.org/licenses/Apache-2.0).
|
This application is available as open source under the terms of the [Apache-2.0 License](https://opensource.org/licenses/Apache-2.0).
|
||||||
|
|
|
||||||
4
overlay/Android.bp
Normal file
4
overlay/Android.bp
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "SeedvaultOverlay",
|
||||||
|
product_specific: true
|
||||||
|
}
|
||||||
8
overlay/AndroidManifest.xml
Normal file
8
overlay/AndroidManifest.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="com.stevesoltys.seedvault.framework_rro"
|
||||||
|
android:versionCode="1"
|
||||||
|
android:versionName="1.0">
|
||||||
|
<overlay android:targetPackage="com.android.providers.settings"
|
||||||
|
android:priority="947"
|
||||||
|
android:isStatic="true" />
|
||||||
|
</manifest>
|
||||||
5
overlay/res/values/config.xml
Normal file
5
overlay/res/values/config.xml
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<resources>
|
||||||
|
<bool name="def_backup_enabled">true</bool>
|
||||||
|
<string name="def_backup_transport" translatable="false">com.stevesoltys.seedvault.transport.ConfigurableBackupTransport</string>
|
||||||
|
</resources>
|
||||||
Loading…
Add table
Reference in a new issue