diff options
author | Jiwen 'Steve' Cai <jwcai@google.com> | 2018-06-13 21:57:56 -0700 |
---|---|---|
committer | Jiwen 'Steve' Cai <jwcai@google.com> | 2018-06-13 21:57:56 -0700 |
commit | 9749dd0fc9ef95276a1ca112078e01323889c6b4 (patch) | |
tree | 7d5193d5f03f6f3238ada6e699df8764bbc0825f | |
parent | a754ddf83838f0cecf3e85c2a9231fbd321daa63 (diff) | |
download | device_google_vrservices-9749dd0fc9ef95276a1ca112078e01323889c6b4.tar.gz device_google_vrservices-9749dd0fc9ef95276a1ca112078e01323889c6b4.tar.bz2 device_google_vrservices-9749dd0fc9ef95276a1ca112078e01323889c6b4.zip |
Allow VrCore to access tango calibration file
Bug: 78638290
Bug: 80530644
Test: VrCore can load device calibration.
Change-Id: I153bbf0dac4d407f30d0de672a09773396537f8c
-rw-r--r-- | vrcore/sepolicy_mtc/vrcore_app.te | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vrcore/sepolicy_mtc/vrcore_app.te b/vrcore/sepolicy_mtc/vrcore_app.te index a037610..3dda5f2 100644 --- a/vrcore/sepolicy_mtc/vrcore_app.te +++ b/vrcore/sepolicy_mtc/vrcore_app.te @@ -11,3 +11,6 @@ r_dir_file(vrcore_app, adsprpcd_file) # allow vrcore to access sensor service allow vrcore_app fwk_sensor_hwservice:hwservice_manager find; allow vrcore_app sensorservice_service:service_manager find; + +# allow vrcore to access /persist/tango/calibration.xml +r_dir_file(vrcore_app, tango_data_file);
\ No newline at end of file |