87889b6af2
Bootanimation needs access to EGL/GLES libraries. When they are in a vendor apex, it should be able to read its mount point at least. Bug: 205618237 Test: launch CF and check logcat # bootanimation works with EGL Change-Id: I6f0727916dd8f69fbfc02bb33ff27c9f11ec9388
23 lines
631 B
Text
23 lines
631 B
Text
typeattribute bootanim coredomain;
|
|
|
|
init_daemon_domain(bootanim)
|
|
|
|
# b/68864350
|
|
dontaudit bootanim unlabeled:dir search;
|
|
|
|
# Bootanim should not be reading default vendor-defined properties.
|
|
dontaudit bootanim vendor_default_prop:file read;
|
|
|
|
# Read ro.boot.bootreason b/30654343
|
|
get_prop(bootanim, bootloader_boot_reason_prop)
|
|
|
|
get_prop(bootanim, bootanim_config_prop)
|
|
|
|
# Allow updating boot animation status.
|
|
set_prop(bootanim, bootanim_system_prop)
|
|
|
|
# Allow accessing /data/misc/bootanim
|
|
r_dir_file(bootanim, bootanim_data_file)
|
|
|
|
# Allow accessing vendor apex for EGL/GLES
|
|
allow bootanim vendor_apex_metadata_file:dir r_dir_perms;
|