summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkAssets.cpp
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2019-02-19 12:34:17 -0800
committerWinson <chiuwinson@google.com>2019-03-29 12:18:18 -0700
commit83708c825868b4c26c6c599b5614205ea5118d3c (patch)
tree36c5c3b9b150ad23f6eb183f9226f54031a144ba /libs/androidfw/ApkAssets.cpp
parente0b984e8054a19b22853e27c7fe881c3b521feed (diff)
Diff resource dirs when checking LoadedApk packageInfo cache in ActivityThread
Need to check the overlayDirs with the current appInfo passed into getPackageInfo, otherwise it's possible to return an old, outdated LoadedApk which hasn't loaded the correct resource dirs into its AssetManager. There is a separate issue with AssetManager2.isUpToDate not being implemented correctly, but that will be moved to a different changelist. Bug: 124363683 Test: manually tested Wellbeing with repro steps in linked bug Change-Id: Iace6e8aab322bdb7b5b93398a4f5e2c69fccc68e
Diffstat (limited to 'libs/androidfw/ApkAssets.cpp')
0 files changed, 0 insertions, 0 deletions