Skip to content

Support for Android 15's archived apps - #1195

Merged
d4rken merged 8 commits into
mainfrom
api35-archived-packages
Jun 7, 2024
Merged

Support for Android 15's archived apps#1195
d4rken merged 8 commits into
mainfrom
api35-archived-packages

Conversation

@d4rken

@d4rken d4rken commented May 30, 2024

Copy link
Copy Markdown
Member

Fixes #1191

d4rken added 5 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.
…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)
* Fixes false positives for archived apps within the CorpseFinder
* AppControl can now show archived apps
@d4rken d4rken added enhancement New feature, request, improvement or optimization c: AppCleaner c: AppControl c: CorpseFinder c: PKGS Package related operations. api: 35 A15 (Vanilla Ice Cream) labels May 30, 2024
@d4rken
d4rken marked this pull request as draft May 31, 2024 10:21
Better modularisation to allow for cleaner handling of "Archived Packages" in Android 15.
@d4rken
d4rken force-pushed the api35-archived-packages branch from 628c38b to 7178de9 Compare June 1, 2024 16:17
@d4rken
d4rken marked this pull request as ready for review June 2, 2024 11:12
@d4rken
d4rken merged commit 08e98c7 into main Jun 7, 2024
@d4rken
d4rken deleted the api35-archived-packages branch June 7, 2024 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: 35 A15 (Vanilla Ice Cream) c: AppCleaner c: AppControl c: CorpseFinder 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.

Archived apps on Android 15

1 participant