Merge "Allow boot animation to update boot status."

This commit is contained in:
Nicolas Geoffray 2021-04-29 07:53:05 +00:00 committed by Gerrit Code Review
commit 82bf10a79c
8 changed files with 13 additions and 4 deletions

View file

@ -11,4 +11,7 @@ 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)
get_prop(bootanim, bootanim_config_prop)
# Allow updating boot animation status.
set_prop(bootanim, bootanim_system_prop)

View file

@ -28,6 +28,7 @@
blank_screen_exec
blank_screen_tmpfs
boot_status_prop
bootanim_system_prop
bootloader_boot_reason_prop
bootloader_prop
bluetooth_a2dp_offload_prop

View file

@ -1433,6 +1433,8 @@
(typeattributeset exported_radio_prop_30_0 (exported_radio_prop telephony_status_prop))
(typeattributeset exported_secure_prop_30_0 (exported_secure_prop))
(typeattributeset exported_system_prop_30_0 (exported_system_prop charger_status_prop))
(typeattributeset exported_system_prop_30_0 (exported_system_prop bootanim_system_prop))
(typeattributeset exported_system_radio_prop_30_0
( exported_system_radio_prop
usb_config_prop

View file

@ -47,4 +47,4 @@ neverallow { domain -init -odrefresh -system_server } odrefresh_data_file:dir *;
neverallow { domain -init -odrefresh -system_server } odrefresh_data_file:file *;
# Allow updating boot animation status.
set_prop(odrefresh, exported_system_prop)
set_prop(odrefresh, bootanim_system_prop)

View file

@ -869,8 +869,8 @@ ro.property_service.version u:object_r:property_service_version_prop:s0 exact in
ro.vendor.redirect_socket_calls u:object_r:vendor_socket_hook_prop:s0 exact bool
service.bootanim.exit u:object_r:exported_system_prop:s0 exact int
service.bootanim.progress u:object_r:exported_system_prop:s0 exact int
service.bootanim.exit u:object_r:bootanim_system_prop:s0 exact int
service.bootanim.progress u:object_r:bootanim_system_prop:s0 exact int
sys.init.userspace_reboot.in_progress u:object_r:userspace_reboot_exported_prop:s0 exact bool
sys.use_memfd u:object_r:use_memfd_prop:s0 exact bool

View file

@ -53,6 +53,7 @@ allow surfaceflinger self:netlink_kobject_uevent_socket create_socket_perms_no_i
# Set properties.
set_prop(surfaceflinger, system_prop)
set_prop(surfaceflinger, bootanim_system_prop)
set_prop(surfaceflinger, exported_system_prop)
set_prop(surfaceflinger, exported3_system_prop)
set_prop(surfaceflinger, ctl_bootanim_prop)

View file

@ -629,6 +629,7 @@ allow system_server server_configurable_flags_data_file:file r_file_perms;
# Property Service write
set_prop(system_server, system_prop)
set_prop(system_server, bootanim_system_prop)
set_prop(system_server, exported_system_prop)
set_prop(system_server, exported3_system_prop)
set_prop(system_server, safemode_prop)

View file

@ -60,6 +60,7 @@ system_restricted_prop(binder_cache_bluetooth_server_prop)
system_restricted_prop(binder_cache_system_server_prop)
system_restricted_prop(binder_cache_telephony_server_prop)
system_restricted_prop(boot_status_prop)
system_restricted_prop(bootanim_system_prop)
system_restricted_prop(bootloader_prop)
system_restricted_prop(boottime_public_prop)
system_restricted_prop(bq_config_prop)