fix: make album imports and refreshes reliable
Add cancellable imports, preserve inaccessible sources, and update covers and queues atomically. Share folder refresh logic, improve collection controls and accessibility, and simplify repository and selection code. Validated with 299 unit tests, 29 device tests, lint, and a debug build.
This commit is contained in:
1 parent
7e942a2c83
commit
f8fa13d487
30 files changed
+1447
-757
No files matched your search
@@ -72,8 +72,9 @@ Help translate Paperize into your language! Currently, most translations are pro
|
||||
| Requirement | Version |
|
||||
|-------------|---------|
|
||||
| Java | 17 |
|
||||
| Android Gradle Plugin | 9.1.0 |
|
||||
| Gradle | 9.4.1 |
|
||||
| Android Gradle Plugin | 9.3.2 |
|
||||
| Gradle | 9.7.1 |
|
||||
| Compile SDK | 37 (Android 17) |
|
||||
| Minimum SDK | 31 (Android 12) |
|
||||
| Target SDK | 36 |
|
||||
|
||||
@@ -95,6 +96,20 @@ Help translate Paperize into your language! Currently, most translations are pro
|
||||
|
||||
---
|
||||
|
||||
### Verification
|
||||
|
||||
Set `ANDROID_HOME` to your Android SDK directory, or configure `sdk.dir` in
|
||||
`local.properties`. Use the checked-in Gradle wrapper:
|
||||
|
||||
```bash
|
||||
./gradlew testDebugUnitTest lintDebug assembleDebug
|
||||
./gradlew connectedDebugAndroidTest
|
||||
```
|
||||
|
||||
On Windows, use `gradlew.bat`. Device tests require a running Android emulator or
|
||||
connected device (API 31 or newer). They cover rendering, scheduling, document
|
||||
provider failures, import rollback, album cleanup, and library controls.
|
||||
|
||||
## Contributing
|
||||
|
||||
Contributions are welcome! Feel free to:
|
||||
|
||||
Reference in new issue
Block a user