summaryrefslogtreecommitdiff
path: root/libs/hwui/AutoBackendTextureRelease.cpp
diff options
context:
space:
mode:
author Han Wang <wanghan1995315@gmail.com> 2024-09-04 16:01:58 +0000
committer Han Wang <wanghan1995315@gmail.com> 2024-09-10 01:10:02 +0000
commitd1a4e7d2c11e45ce67a1f65383bd1d0bc9cb6bd3 (patch)
tree8855b4b798b2b46dd5be6a430e205effdeba1fca /libs/hwui/AutoBackendTextureRelease.cpp
parentf17c2a0b753eac8f7c28ed6b2c8d519fbf1958d7 (diff)
Fix PackageManager#getPackageArchiveInfo to cache derived fields
After switching from old parser to PackageParser2, getPackageArchiveInfo doesn't call hideAsFinal(), which results in assignDerivedFields2() not called and app info flags not initalized. As a result, appinfo.flags is always 0. Fix it by calling hideAsFinal() to cache derived fields. Alternative fix is to call assignDerivedFields2() in hideAsParsed(), but I am not sure if that is what the API wants to do. Change-Id: I33c1d8446739d6982df1fbec29e65b1c6c33556d
Diffstat (limited to 'libs/hwui/AutoBackendTextureRelease.cpp')
0 files changed, 0 insertions, 0 deletions