| 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/bootanim |
| r_dir_file(bootanim, bootanim_data_file) |