summaryrefslogtreecommitdiff
path: root/dex2oat/common_compiler_driver_test.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2021-09-07 12:16:56 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2021-09-22 12:23:47 +0000
commitea55f3de90fb3822c41b6f8715ba6adf6cba2bd4 (patch)
tree2c5a92cf99bce02e06c60efa683e816aa9d9d10a /dex2oat/common_compiler_driver_test.cc
parent52818b0769b697aea537402abb4f7b1d234b6d9e (diff)
Change only_use_system_oat_files_ logic.
If we're creating a process which is a zygote, set it to true. Change it to false on non-system-server fork. This makes sure that zygote doesn't load oat files from /data, which would then make system server abort at startup. Test: 677-fsi, 677-fsi2 Bug: 198531508 Change-Id: I367fcf79f2e60a32457829ddc88b680fc2d00099
Diffstat (limited to 'dex2oat/common_compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions