Add sepolicy rules for crashrecovery APEX.
Bug: b/289203818
Test: NA
Change-Id: I6d25d413fb512a48e765088bc8dde59c89aec257
diff --git a/apex/Android.bp b/apex/Android.bp
index 7203d9d..37b6171 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -94,6 +94,13 @@
}
filegroup {
+ name: "com.android.crashrecovery-file_contexts",
+ srcs: [
+ "com.android.crashrecovery-file_contexts",
+ ],
+}
+
+filegroup {
name: "com.android.federatedcompute-file_contexts",
srcs: [
"com.android.federatedcompute-file_contexts",
diff --git a/apex/com.android.crashrecovery-file_contexts b/apex/com.android.crashrecovery-file_contexts
new file mode 100644
index 0000000..f3a65d4
--- /dev/null
+++ b/apex/com.android.crashrecovery-file_contexts
@@ -0,0 +1 @@
+(/.*)? u:object_r:system_file:s0