Merge "Making sys.boot.reason.last restricted" into main
This commit is contained in:
commit
37d8c5f8c2
2 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,7 @@ neverallow {
|
|||
-dumpstate
|
||||
userdebug_or_eng(`-incidentd')
|
||||
-init
|
||||
-platform_app
|
||||
-recovery
|
||||
-shell
|
||||
-system_server
|
||||
|
|
|
@ -116,6 +116,9 @@ get_prop(platform_app, keyguard_config_prop)
|
|||
# allow platform apps to read qemu.hw.mainkeys
|
||||
get_prop(platform_app, qemu_hw_prop)
|
||||
|
||||
# allow platform apps to read sys.boot.reason.last
|
||||
get_prop(platform_app, last_boot_reason_prop)
|
||||
|
||||
# allow platform apps to create symbolic link
|
||||
allow platform_app app_data_file:lnk_file create_file_perms;
|
||||
|
||||
|
|
Loading…
Reference in a new issue