Merge "Allow ota_preopt to read runtime properties."

am: d4536b0814

Change-Id: Icfc379cb6de56af4269e8c61c26b590ad0880a4b
This commit is contained in:
Nicolas Geoffray 2019-03-04 02:26:03 -08:00 committed by android-build-merger
commit 3ea802699c

View file

@ -62,3 +62,7 @@ allow postinstall_dexopt postinstall:process sigchld;
# Allow otapreopt to use file descriptors from otapreopt_chroot.
# TODO: Probably we can actually close file descriptors...
allow postinstall_dexopt otapreopt_chroot:fd use;
# Allow postinstall_dexopt to access the runtime feature flag properties.
get_prop(postinstall_dexopt, device_config_runtime_native_prop)
get_prop(postinstall_dexopt, device_config_runtime_native_boot_prop)