Skip to content

AppControl: Improve scan performance - #1530

Merged
d4rken merged 1 commit into
mainfrom
appcontrol-scan
Jan 8, 2025
Merged

AppControl: Improve scan performance#1530
d4rken merged 1 commit into
mainfrom
appcontrol-scan

Conversation

@d4rken

@d4rken d4rken commented Jan 8, 2025

Copy link
Copy Markdown
Member

Keep PkgOps related resources alive for the whole operation.

Otherwise we see this when loading app data:

22:03:37.784 SDMSE:Pkg:Ops                        V  querySizeStats(InstallId(pkgId=com.google.android.photopicker, userHandle=UserHandle2(handleId=0)),41217664-9172-527a-b3d5-edabb50a7d69)
22:03:37.785 SDMSE:Pkg:Ops                        V  querySizeStats(InstallId(pkgId=com.google.android.photopicker, userHandle=UserHandle2(handleId=0)),41217664-9172-527a-b3d5-edabb50a7d69) -> SizeStats(appBytes=524288, cacheBytes=0, externalCacheBytes=0, dataBytes=0)
22:03:37.785 SDMSE:Pkg:Ops                        V  isRunning(InstallId(pkgId=com.google.android.inputmethod.latin, userHandle=UserHandle2(handleId=0)), AUTO->ROOT)
22:03:37.785 SDMSE:Pkg:Ops:SR                     V  addChild(): Can't add child, we are not alive: SharedResource(tag=SDMSE:Root:Service:Client:SR, leases=1, children=0)
22:03:37.785 SDMSE:Root:Service:Client:SR         D  close()

Keep PkgOps related resources alive for the whole operation.
@d4rken
d4rken merged commit 5775da1 into main Jan 8, 2025
@d4rken
d4rken deleted the appcontrol-scan branch January 8, 2025 22:21
@d4rken d4rken added the enhancement New feature, request, improvement or optimization label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: AppControl enhancement New feature, request, improvement or optimization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant