Improve app data loading and prepare for Android 15 - #1194
Merged
Conversation
d4rken
commented
May 30, 2024
Member
- Refactoring for readability
- Preparations for "Archived Packages" in Android 15, see Archived apps on Android 15 #1191
- Remove debug code to improve performance
…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.
…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
force-pushed
the
pkgrepo-refactoring
branch
from
May 30, 2024 14:18
ad8b765 to
03162c8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.