-From 1feca61b0366caa178889d9dd905c0f35c4c4351 Mon Sep 17 00:00:00 2001
+From f60df3b40bef428241ee3d931568e8de816fef7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5rten=20Kongstad?= <marten.kongstad@sonymobile.com>
Date: Mon, 22 Jun 2015 09:31:25 +0200
-Subject: [PATCH 01/11] OMS7-N: Add service 'overlay' to service_contexts
+Subject: [PATCH 01/12] OMS7-N: Add service 'overlay' to service_contexts
The 'overlay' service is the Overlay Manager Service, which tracks
packages and their Runtime Resource Overlay overlay packages.
-From 9e49f50fa1a4fcab0d9458c3406fe70b66218fde Mon Sep 17 00:00:00 2001
+From a420610fb6940291fac20da7d7310b9fe942dfcb Mon Sep 17 00:00:00 2001
From: d34d <clark@cyngn.com>
Date: Wed, 4 Jan 2017 10:29:34 -0800
-Subject: [PATCH 02/11] Introduce sepolicy exceptions for theme assets
+Subject: [PATCH 02/12] Introduce sepolicy exceptions for theme assets
Assets such as composed icons and ringtones need to be accessed
by apps. This patch adds the policy needed to facilitate this.
-From a29c592adf45bdd1042d9339d3b0047e7032c78e Mon Sep 17 00:00:00 2001
+From 1d859c985c4bea5656dd525b35885a1cd9cd15aa Mon Sep 17 00:00:00 2001
From: bigrushdog <randall.rushing@gmail.com>
Date: Wed, 4 Jan 2017 10:31:29 -0800
-Subject: [PATCH 03/11] sepolicy: fix themed boot animation
+Subject: [PATCH 03/12] sepolicy: fix themed boot animation
W BootAnimation: type=1400 audit(0.0:42): avc: denied { open } for uid=1003 path="/data/system/theme/bootanimation.zip" dev="mmcblk0p42" ino=1657697 scontext=u:r:bootanim:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0
-From 8882f733308ff6ac5e5292eb38253bda7b874427 Mon Sep 17 00:00:00 2001
+From 43b569d877370cf0ea109cfdd57976c22a4eba91 Mon Sep 17 00:00:00 2001
From: George G <kreach3r@users.noreply.github.com>
Date: Wed, 8 Feb 2017 17:22:44 +0200
-Subject: [PATCH 04/11] sepolicy: fix themed sounds
+Subject: [PATCH 04/12] sepolicy: fix themed sounds
02-08 17:26:48.011 18259-18259/? W/SoundPoolThread: type=1400 audit(0.0:31): avc: denied { read } for path="/data/system/theme/audio/ui/Lock.ogg" dev="dm-0" ino=1006317 scontext=u:r:drmserver:s0 tcontext=u:object_r:theme_data_file:s0 tclass=file permissive=0
-From 3a536ae9574dae37422ec188f119d9769c68355c Mon Sep 17 00:00:00 2001
+From d7c74a0c8d441ebd4db743a56bd22e01609d3c1c Mon Sep 17 00:00:00 2001
From: Surge1223 <surge1223@gmail.com>
Date: Sat, 18 Feb 2017 08:46:15 -0600
-Subject: [PATCH 05/11] initial policy edits for masquerade to operate rootless
+Subject: [PATCH 05/12] initial policy edits for masquerade to operate rootless
Change-Id: Iddfc408f206033772b9d49d335ca94e63b5e5210
---
-From 95904cb6390312b0e842b5cbb8fda6a28f524f12 Mon Sep 17 00:00:00 2001
+From 7fb0e2bca061721e879e4dd05c0985fc003407d6 Mon Sep 17 00:00:00 2001
From: Surge1223 <surge1223@gmail.com>
Date: Tue, 21 Feb 2017 12:28:05 -0600
-Subject: [PATCH 06/11] sepolicy: rename masquerade domain and allow JobService
+Subject: [PATCH 06/12] sepolicy: rename masquerade domain and allow JobService
in system_server
This attempts to address the issue of JobService being unable to process
-From 4fe1775849e375de906ba4ad92d1b3e79d4c8bc3 Mon Sep 17 00:00:00 2001
+From 35e7f6b212da283b29132f2734da6360c3a36c13 Mon Sep 17 00:00:00 2001
From: Surge1223 <surge1223@gmail.com>
Date: Wed, 22 Feb 2017 20:45:04 -0600
-Subject: [PATCH 07/11] sepolicy: allow masquerade to read and write theme
+Subject: [PATCH 07/12] sepolicy: allow masquerade to read and write theme
assets
Fix for masquerade to handle theme assets including fonts and bootanimation, also
-From f5397bc7a0b0483d4fe484fd24c82ca941262ea3 Mon Sep 17 00:00:00 2001
+From ff7ba5a6d5524f632134c6bcf43173043479e27e Mon Sep 17 00:00:00 2001
From: Miccia <bono.michele94@gmail.com>
Date: Mon, 27 Feb 2017 12:36:21 +0100
-Subject: [PATCH 08/11] sepolicy: Fix application of bootanimation
+Subject: [PATCH 08/12] sepolicy: Fix application of bootanimation
Change-Id: I7365d28fecf18b4d1aa42b2210e023b202dd97a5
---
-From 542b2618ace4fc577949507829ce3f27d9c0514d Mon Sep 17 00:00:00 2001
+From 931433e0e94054c4898276213fa18e0ca93d29e2 Mon Sep 17 00:00:00 2001
From: LuK1337 <priv.luk@gmail.com>
Date: Wed, 1 Mar 2017 23:11:49 +0100
-Subject: [PATCH 09/11] sepolicy: Redo masquerade rules
+Subject: [PATCH 09/12] sepolicy: Redo masquerade rules
* Use macros
* Label custom properties
-From a0cb9177aff9b17cea5119a9b8fb6770784857cf Mon Sep 17 00:00:00 2001
+From 4ef2c96d7fa1f63ebbec4b9ac3ac7fe7b6cd36a0 Mon Sep 17 00:00:00 2001
From: Nathan Chancellor <natechancellor@gmail.com>
Date: Sat, 4 Mar 2017 19:20:10 -0700
-Subject: [PATCH 10/11] Welcome to Theme Interfacer! [2/2]
+Subject: [PATCH 10/12] Welcome to Theme Interfacer! [2/2]
Change-Id: I4a28c8840957d385338529540e081eabd3135cc1
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
-From a65b9f9786bda8cca29f808cf8669bebb0c59578 Mon Sep 17 00:00:00 2001
+From 44f026c91d25d3e72d9654efc0c238cb451d6451 Mon Sep 17 00:00:00 2001
From: Surge Raval <Surge1223@gmail.com>
Date: Sun, 16 Apr 2017 05:00:13 +0000
-Subject: [PATCH 11/11] sepolicy: add file and domain trans to interfacer
+Subject: [PATCH 11/12] sepolicy: add file and domain trans to interfacer
This will fix bootanimations not applying on 7.1.2 ROMs
--- /dev/null
+From b3bdd5ba0f03e0e85c064defb3842d57ca1990ab Mon Sep 17 00:00:00 2001
+From: Harsh Shandilya <msfjarvis@gmail.com>
+Date: Tue, 9 May 2017 09:18:10 +0530
+Subject: [PATCH 12/12] sepolicy: Allow system_server to set theme_prop
+
+[ 6065.716763] init: avc: denied { set } for property=sys.refresh_theme
+pid=1131 uid=1000 gid=1000 scontext=u:r:system_server:s0
+tcontext=u:object_r:theme_prop:s0 tclass=property_service permissive=0
+
+I am yet to spot any regressions this is causing, but better safe than sorry
+
+Change-Id: I971b92dd3c074cda2ba0b49ffd256679dc4086de
+---
+ system_server.te | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/system_server.te b/system_server.te
+index a30a09e..037ecb8 100644
+--- a/system_server.te
++++ b/system_server.te
+@@ -353,6 +353,7 @@ set_prop(system_server, cppreopt_prop)
+
+ # theme property
+ get_prop(system_server, theme_prop)
++set_prop(system_server, theme_prop)
+
+ # Create a socket for receiving info from wpa.
+ type_transition system_server wifi_data_file:sock_file system_wpa_socket;
+--
+2.11.1
+