Skip to content

Improve app data loading and prepare for Android 15 - #1194

Merged
d4rken merged 4 commits into
mainfrom
pkgrepo-refactoring
Jun 7, 2024
Merged

Improve app data loading and prepare for Android 15#1194
d4rken merged 4 commits into
mainfrom
pkgrepo-refactoring

Conversation

@d4rken

@d4rken d4rken commented May 30, 2024

Copy link
Copy Markdown
Member

d4rken added 3 commits May 30, 2024 16:06
…hat way we can pass flags that only work on newer API levels, without changing the compileSDK.

The new `MATCH_ARCHIVED_PACKAGES` flag is larger than an `Int`.
… see the need to re-add this inefficient method.

There hasn't been a case for this yet in SDM2.
@d4rken d4rken added enhancement New feature, request, improvement or optimization c: PKGS Package related operations. labels May 30, 2024
…y source) and adopt new `PkgOps` functions.

Previous `PkgOps` returned `NormalPkg` instead of just the PackageInfo.
This was changed as deciding the pkg type is not the job of `PkgOps`, a returned `PackageInfo` might not be a `NormalPkg` (e.g. could be an `ArchivedPkg` in Android 15)
@d4rken
d4rken force-pushed the pkgrepo-refactoring branch from ad8b765 to 03162c8 Compare May 30, 2024 14:18
@d4rken
d4rken merged commit a2c133d into main Jun 7, 2024
@d4rken
d4rken deleted the pkgrepo-refactoring branch June 7, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: PKGS Package related operations. enhancement New feature, request, improvement or optimization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant