blob: f63a230cf6d67ccd6f217df842510015eb92a3e7 [file] [log] [blame]
Alex Klyubinf5446eb2017-03-23 14:27:32 -07001typeattribute bootanim coredomain;
2
dcashmancc39f632016-07-22 13:13:11 -07003init_daemon_domain(bootanim)
Joel Galensonf7ec4132018-02-14 16:32:28 -08004
5# b/68864350
6dontaudit bootanim unlabeled:dir search;
Inseob Kim55e5c9b2020-03-04 17:20:35 +09007
Jeff Vander Stoep67896ee2020-04-02 13:36:17 +02008# Bootanim should not be reading default vendor-defined properties.
9dontaudit bootanim vendor_default_prop:file read;
10
Inseob Kim55e5c9b2020-03-04 17:20:35 +090011# Read ro.boot.bootreason b/30654343
12get_prop(bootanim, bootloader_boot_reason_prop)
Robert Horvath85049382021-04-15 14:55:37 +000013
Nicolas Geoffray6a311472021-04-28 13:57:11 +010014get_prop(bootanim, bootanim_config_prop)
15
16# Allow updating boot animation status.
17set_prop(bootanim, bootanim_system_prop)
Josh Yang1d967dd2021-12-23 14:37:41 -080018
Lee George Thomas407e1cf2023-07-25 15:02:33 -070019# Allow accessing /data/misc/bootanim
Josh Yang1d967dd2021-12-23 14:37:41 -080020r_dir_file(bootanim, bootanim_data_file)
Jooyung Han87889b62023-11-06 18:16:40 +090021
22# Allow accessing vendor apex for EGL/GLES
23allow bootanim vendor_apex_metadata_file:dir r_dir_perms;