Commit graph

828 commits

Author SHA1 Message Date
Torsten Grote
9aa57cacbf
Merge pull request #591 from Uldiniad/android14
fixup! Allow secondary user backup to USB
2023-11-13 11:27:46 -03:00
Oliver Scott
97d2d18a73
fixup! Allow secondary user backup to USB
Issue: calyxos#1058
Change-Id: I4aaadef5954e9c091f7048bffd8e0ed700fdd2e6
2023-11-01 17:19:17 -04:00
Steve Soltys
6ce2e27a99
Merge pull request #585 from seedvault-app/feature/kotlin-gradle-build-scripts
Switch to Kotlin build scripts + version catalog
2023-10-19 02:40:44 -04:00
Steve Soltys
b131aaf898 Clean up Gradle build scripts 2023-10-19 00:23:06 -04:00
Steve Soltys
b917293bbc Switch to Kotlin build scripts + version catalog 2023-10-19 00:22:51 -04:00
Steve Soltys
ee3a923034
Merge pull request #582 from seedvault-app/feature/e2e-test-logs
Fix and improve E2E tests
2023-10-17 22:12:54 -04:00
Steve Soltys
551538fd8f Fix AOSP build artifact location 2023-10-17 21:24:38 -04:00
Steve Soltys
8297bb7087 Fix and improve E2E tests 2023-10-17 21:24:38 -04:00
Torsten Grote
28059a50bd
Merge pull request #581 from grote/14-version-upgrades
Version upgrades of included libraries and test dependencies
2023-10-17 11:04:42 -03:00
Steve Soltys
09bc8f0356
Merge pull request #586 from seedvault-app/feature/aosp-build
Build Seedvault with AOSP in CI
2023-10-16 19:38:36 -04:00
Steve Soltys
1a20f63476 Build Seedvault with AOSP in CI 2023-10-16 19:37:35 -04:00
Torsten Grote
f8b94c5f57
Upgrade tink to 1.10.0
1.11.0 is tagged, but not released to maven central, yet.
2023-10-10 15:44:53 -03:00
Torsten Grote
cb95444ad4
Bump minSdk to 33 and upgrade unit test dependencies 2023-10-10 15:44:53 -03:00
Torsten Grote
74566b902a
Upgrade kotlin-bip39-jvm to 1.0.6
Bip39ComparisionTest was run before and after upgrading org.bitcoinj:bitcoinj-core to latest version to ensure that kotlin-bip39 is still behaving the same.

A small tweak in WordListTest was needed because WorldList constructor was made internal.
2023-10-10 15:44:52 -03:00
Torsten Grote
bc90378edf
Merge pull request #579 from seedvault-app/staging/android14-bp
Get app working in Android 14, built via Android.bp
2023-10-10 15:42:29 -03:00
Torsten Grote
0cd6d05b16
Merge pull request #576 from seedvault-app/staging/android14
Gradle updates to match AOSP 14
2023-10-10 12:43:43 -03:00
Chirayu Desai
6cb3b30b84
restore: Runtime-registered broadcasts receivers must specify export behavior
See: https://developer.android.com/about/versions/14/behavior-changes-14#runtime-receivers-exported
Change-Id: I6f80a060370a0b202c277924ea8cbf565bc29d6e
2023-10-10 12:08:19 -03:00
Steve Soltys
aa19ccd557 Make e2e tests run on pull requests 2023-10-10 06:38:31 +05:30
Chirayu Desai
aa0e82cfca ApkInstaller: Supress NewApi for
* Pre-34, this was marked as @hide and @TestApi
* We were using it as a system app with hidden APIs allowed,
  and having added the framework android.jar to gradle
* 91fa0b1298
  made it public, so lint now complains. Silence that.

Change-Id: I5a1ec9847a25a0798726af3867d7660db1528a00
2023-10-09 00:16:15 +05:30
Steve Soltys
1e2d66fccc Pin Android r8 version until we're on AGP 8.2 2023-10-09 00:01:54 +05:30
Chirayu Desai
978ab6897b 14: Bump to JavaVersion.VERSION_17
* AOSP android-14.0.0_r1 bumped Kotlin to 1.8.10
  which requires this

Change-Id: I91f51abbf0b303f3db88c5f4f81c570dd85a6510
2023-10-09 00:01:53 +05:30
Chirayu Desai
eaa3715a6e 14: Match gradle dependencies with AOSP android-14.0.0_r1
* Not many libs got updated, but most significantly, the
  Kotlin compiler was updated

Change-Id: I9454a2e42b6d5da1349f2f662676710212c984f2
2023-10-09 00:01:53 +05:30
Chirayu Desai
a6b32ac3d2 14: Update AOSP libs from gradle, from android-14.0.0_r1
* Compiled with a plain `m`, and then copied over
  from the paths noted in the comments

Change-Id: If5d399d839886c7fe044f5bb7088ed95259e6bf2
2023-10-09 00:01:53 +05:30
Chirayu Desai
82712487fe gradle: Bump to SDK 34
* Android.bp builds mean that we're already on this
* This will need more updates, but let's start here

Change-Id: I924099840e40e2a2b4fd90157f45a160b7c794dd
2023-10-09 00:01:53 +05:30
Steve Soltys
3938549a14 Cancel previous GitHub actions runs when PR updated 2023-10-09 00:01:26 +05:30
Steve Soltys
d678d9a960 Bump emulator image in Gradle task to android-34 2023-10-09 00:01:26 +05:30
Steve Soltys
bf5dc1958c Switch to GitHub actions for E2E tests 2023-10-09 00:01:26 +05:30
Chirayu Desai
fcdacf22a7 14: Add new permission FOREGROUND_SERVICE_DATA_SYNC
* Android.bp build means we get set to targetSdk 34 already

Fixes: Starting FGS with type dataSync targetSDK=34 requires permissions
See: https://developer.android.com/about/versions/14/changes/fgs-types-required#data-sync
Change-Id: I69932d778e870535522e08dff131f1bb1d128955
2023-10-08 00:39:29 +05:30
Chirayu Desai
e6f32510d5 Bump version to 14-3.3
* Android 14 is here!

Change-Id: Ic4249bb1d2a3ac03011f5b7608534ecd526e99c6
2023-10-08 00:39:29 +05:30
Chirayu Desai
ea4e8ec552 README: 13 -> 14
Change-Id: Ia5ebd0f3f1ccb5f9261a956f2485d60f22a5f269
2023-10-08 00:39:29 +05:30
Torsten Grote
2bbeece7b7
Merge pull request #523 from mikeNG/icon-updates
Icon updates
2023-09-26 05:36:36 -03:00
Michael Bestas
a83e36634c seedvault: Enable monochrome icon
Just use foreground icon for now
2023-09-26 02:36:50 +05:30
Michael Bestas
09d6131a1c seedvault: Update app icon
* Regenerate in android studio as a single xml instead of png
* Remove roundIcon, this was only used on sdk 25
* Use device accent for icon background
2023-09-26 02:36:50 +05:30
Michael Bestas
6031f03841 storage demo: Remove roundIcon
This was only used on sdk 25
2023-09-26 02:36:50 +05:30
Hosted Weblate
f30acd8b2d Import translations from Weblate
Co-authored-by: Dan <jonweblin2205@protonmail.com>
Co-authored-by: Eric <hamburger2048@users.noreply.hosted.weblate.org>
Co-authored-by: Fjuro <ifjuro@proton.me>
Co-authored-by: František Oboňa <frantisekobona@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Micovec <jiri.vokrinek@email.cz>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/cs/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/es/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/he/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/sk/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/tr/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/uk/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/zh_Hans/
Translation: CalyxOS/Seedvault
2023-09-25 23:24:03 +05:30
Steve Soltys
6eaba0b87a Wait until storage location is initialized for e2e test 2023-09-25 22:52:01 +05:30
Torsten Grote
ba6dc2ff91
Merge pull request #553 from seedvault-app/feature/e2e-test
Add end-to-end emulator test running on CI
2023-09-25 07:27:26 -03:00
Steve Soltys
ced8803761 Switch ANDROID_SDK_HOME to ANDROID_HOME 2023-09-22 04:12:53 +00:00
Steve Soltys
29bd71bcc9 Intercept and assert on application data in e2e test 2023-09-21 06:51:43 +00:00
Steve Soltys
04c5089113 Start recording screen again if we get cut off after 3 minutes 2023-09-14 18:42:22 +00:00
Steve Soltys
59cef31183 Address review comments, add screen recording, use test backup data 2023-09-14 18:11:45 +00:00
Steve Soltys
f1238977d0 Add end-to-end emulator test running on CI 2023-09-14 18:11:45 +00:00
Steve Soltys
c96f1c961a
Merge pull request #552 from seedvault-app/feature/local-development-improvements
Add support for local development with an emulator
2023-09-14 14:06:50 -04:00
Steve Soltys
a922b69094 Add support for local development with an emulator 2023-09-14 17:33:30 +00:00
Steve Soltys
77fed00a74
Merge pull request #551 from seedvault-app/bugfix/fix-no-manage-documents-permission
Support a lack of MANAGE_DOCUMENTS permission
2023-09-14 13:33:01 -04:00
Torsten Grote
1e69831244 Improving support for missing MANAGE_DOCUMENTS permission 2023-09-14 17:23:08 +00:00
t-m-w
208dbd6a60 Support a lack of MANAGE_DOCUMENTS permission
When `android.permission.MANAGE_DOCUMENTS` is not granted, Seedvault
prompts to select a storage location. Do not insist on resolving the
storage's actual root, as it will likely (or perhaps always) fail.
Use a fake storage root as is done for USB and app-based options.

Known issues:
* Selected location is assumed not to be USB and not to require
  network access in its storage options.

Change-Id: I357b4c68673d71c087be41e9c94c2841c1d6658e
2023-09-14 17:22:50 +00:00
Aayush Gupta
da5205c0e9
Merge pull request #526 from theimpulson/android13-dependencyUpdates
Android13 QPR2 Dependency & Misc Updates
2023-08-04 16:41:32 +08:00
Aayush Gupta
63bfb6be55 Update possible github actions
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-03 01:14:16 +08:00
Aayush Gupta
6ca1f2792f Bump to AGP and Gradle 8.x
Disable new R8 mode and resource namespacing for now to avoid build failures.
These needs to be worked on before they can be enabled.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-08-03 00:56:59 +08:00