Skip to content
Snippets Groups Projects
Commit aa2a33a2 authored by Amith Yamasani's avatar Amith Yamasani Committed by Jeff Vander Stoep
Browse files

Allow apps to read preloaded photos

(cherry picked from commit e01654f9)

For Retail Demo mode, we need to preload photos in
/data/preloads and allow regular apps to access the
photos returned by the media provider from the preloads
directory.

Bug: 29940807
Change-Id: Ic1061dac55ace1b125ae04b5b0c70aae9aa0c732
parent bff98015
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,10 @@ allow untrusted_app self:process ptrace;
allow untrusted_app sysfs_hwrandom:dir search;
allow untrusted_app sysfs_hwrandom:file r_file_perms;
# Allow apps to view preloaded content
allow untrusted_app preloads_data_file:dir r_dir_perms;
allow untrusted_app preloads_data_file:file r_file_perms;
###
### neverallow rules
###
......
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