summaryrefslogtreecommitdiff
path: root/libnativeloader/native_loader_test.cpp
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2023-06-28 13:44:56 +0100
committer Jiakai Zhang <jiakaiz@google.com> 2023-10-10 19:01:06 +0000
commitb30ed11f0db5f5a767abe524972fa834f5d6bf03 (patch)
tree2f74814e45cb03e939a4f726b95d857355ed4872 /libnativeloader/native_loader_test.cpp
parent08ce824a2c02c593078fb8cbd34925f51c4d366c (diff)
Use libfstab to determine whether to put artifacts in dalvik-cache.
Before this change, we used PackageState#isSystem (a.k.a. ApplicationInfo#FLAG_SYSTEM) to determine this. Unfortunately, some OEMs don't set this flag for some apps because the flag is used for making security decisions in some places, although the document says it shouldn't be. After this change, we use libfstab as a general solution. Bug: 287958783 Test: atest art_standalone_artd_tests Test: atest ArtServiceTests Change-Id: I0ef596f7009c3d19f458d58c922041ab8a7fbf5f Merged-In: I0ef596f7009c3d19f458d58c922041ab8a7fbf5f
Diffstat (limited to 'libnativeloader/native_loader_test.cpp')
0 files changed, 0 insertions, 0 deletions