[automerger skipped] Merge Android 12 am: 651eb56a47 -s ours am: 01cc12906f -s ours am: c1b8a1872a -s ours

am skip reason: Merged-In Ic183580a33103f94f95e6b50f3f6b2db3d9fd0e9 with SHA-1 da0f7ba8f4 is already in history

Original change: https://android-review.googlesource.com/c/device/google/crosshatch-sepolicy/+/1847417

Change-Id: I429fc56ad989b6baa87448dd2c148a84d31551b9
diff --git a/crosshatch-sepolicy.mk b/crosshatch-sepolicy.mk
index 7acee6e..1262c3c 100644
--- a/crosshatch-sepolicy.mk
+++ b/crosshatch-sepolicy.mk
@@ -12,6 +12,9 @@
 # Pixel-wide policies
 BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/powerstats
 
+# system_ext
+SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += device/google/crosshatch-sepolicy/system_ext/private
+
 # vendors for backward compatibility
 ifeq ($(PRODUCT_USE_QC_SPECIFIC_SYMLINKS), true)
 BOARD_SEPOLICY_DIRS += device/google/crosshatch-sepolicy/vendor/qcom/compat
diff --git a/system_ext/private/platform_app.te b/system_ext/private/platform_app.te
new file mode 100644
index 0000000..10d6bba
--- /dev/null
+++ b/system_ext/private/platform_app.te
@@ -0,0 +1,2 @@
+# allow systemui to set boot animation colors
+set_prop(platform_app, bootanim_system_prop);
diff --git a/system_ext/private/property_contexts b/system_ext/private/property_contexts
new file mode 100644
index 0000000..abcdd41
--- /dev/null
+++ b/system_ext/private/property_contexts
@@ -0,0 +1,5 @@
+# Boot animation dynamic colors
+persist.bootanim.color1     u:object_r:bootanim_system_prop:s0     exact    int
+persist.bootanim.color2     u:object_r:bootanim_system_prop:s0     exact    int
+persist.bootanim.color3     u:object_r:bootanim_system_prop:s0     exact    int
+persist.bootanim.color4     u:object_r:bootanim_system_prop:s0     exact    int