Settings: switch to using ctl.start property instead of exec logcat

- Moves policy of what to do with buffer size changes to logd

Bug: 23685592
Change-Id: I0b12c452e01b94d264d12b30f9040f646e609340
This commit is contained in:
Mark Salyzyn 2016-01-06 09:59:48 -08:00
parent 829a749351
commit ea0da78589

View file

@ -36,13 +36,16 @@ allow system_app wallpaper_file:file r_file_perms;
# Write to properties # Write to properties
set_prop(system_app, debug_prop) set_prop(system_app, debug_prop)
set_prop(system_app, system_prop) set_prop(system_app, system_prop)
set_prop(system_app, ctl_bugreport_prop)
set_prop(system_app, logd_prop) set_prop(system_app, logd_prop)
set_prop(system_app, net_radio_prop) set_prop(system_app, net_radio_prop)
set_prop(system_app, system_radio_prop) set_prop(system_app, system_radio_prop)
auditallow system_app net_radio_prop:property_service set; auditallow system_app net_radio_prop:property_service set;
auditallow system_app system_radio_prop:property_service set; auditallow system_app system_radio_prop:property_service set;
# ctl interface
set_prop(system_app, ctl_default_prop)
set_prop(system_app, ctl_bugreport_prop)
# Create /data/anr/traces.txt. # Create /data/anr/traces.txt.
allow system_app anr_data_file:dir ra_dir_perms; allow system_app anr_data_file:dir ra_dir_perms;
allow system_app anr_data_file:file create_file_perms; allow system_app anr_data_file:file create_file_perms;