diff --git a/file.te b/file.te index 4e3bd535db89807636970773732e718b8cf4a7f5..eb4c79211a884b9c0dbf87074640d2a1f5f262a0 100644 --- a/file.te +++ b/file.te @@ -54,7 +54,7 @@ type cache_file, file_type, mlstrustedobject; # Default type for anything under /efs type efs_file, file_type; # Type for wallpaper file. -type wallpaper_file, file_type; +type wallpaper_file, file_type, mlstrustedobject; # All devices have bluetooth efs files. But they # vary per device, so this type is used in per diff --git a/system.te b/system.te index 6389b0ee168d719688916c68233ba97fac4495f8..7232af7d1efa6276f596b1c6522a7754b8876b96 100644 --- a/system.te +++ b/system.te @@ -148,7 +148,7 @@ allow system apk_data_file:file { relabelfrom relabelto }; # Relabel wallpaper. allow system system_data_file:file relabelfrom; allow system wallpaper_file:file relabelto; -allow system wallpaper_file:file r_file_perms; +allow system wallpaper_file:file rw_file_perms; # Property Service write allow system system_prop:property_service set;