Merge "Only write snapshotctl_log when debug"

This commit is contained in:
Yifan Hong 2020-02-05 21:23:11 +00:00 committed by Gerrit Code Review
commit df701f3e45

View File

@ -36,5 +36,7 @@ hwbinder_use(snapshotctl)
hal_client_domain(snapshotctl, hal_bootctl) hal_client_domain(snapshotctl, hal_bootctl)
# Logging # Logging
allow snapshotctl snapshotctl_log_data_file:dir rw_dir_perms; userdebug_or_eng(`
allow snapshotctl snapshotctl_log_data_file:file create_file_perms; allow snapshotctl snapshotctl_log_data_file:dir rw_dir_perms;
allow snapshotctl snapshotctl_log_data_file:file create_file_perms;
')