Skip to content
Snippets Groups Projects
Commit aa568e1c authored by Miao Wang's avatar Miao Wang
Browse files

Allow NNAPI HAL services access model files provided by privapp.

Bug: 131169221
Test: mm
Change-Id: I1004821bd30e2a0586b14178e352e885cabfc002
parent 5f30c238
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@ allow hal_neuralnetworks hal_allocator:fd use;
# Allow NN HAL service to use a client-provided fd residing in /data/data/.
allow hal_neuralnetworks_server app_data_file:file { read write getattr map };
allow hal_neuralnetworks_server privapp_data_file:file { read write getattr map };
# Allow NN HAL service to use a client-provided fd residing in /data/local/tmp/.
allow hal_neuralnetworks_server shell_data_file:file { read write getattr map };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment