Merge "Enable incidentd access to ro.serialno"

This commit is contained in:
Wenjie Zhou 2019-11-09 01:05:18 +00:00 committed by Gerrit Code Review
commit b438d4527a
2 changed files with 7 additions and 0 deletions

View File

@ -150,6 +150,12 @@ allow incidentd { dumpstate incident }:fifo_file write;
# Allow incident to call back to incident with status updates.
binder_call(incidentd, incident)
# Read device serial number from system properties
# This is used to track reports from lab testing devices
userdebug_or_eng(`
get_prop(incidentd, serialno_prop)
')
###
### neverallow rules
###

View File

@ -539,6 +539,7 @@ neverallow {
-hal_camera_server
-hal_cas_server
-hal_drm_server
userdebug_or_eng(`-incidentd')
-init
-mediadrmserver
-recovery