Remove neverallow restrictions for prebuilt_res module type
Allows the module type to be defined in the Android.bp file, and allows
the module to specify `install_in_root` property.
Test: m nothing
Bug: 381888358
Change-Id: I88ad009608f4fea392f5f2c18498487f1e988c73
diff --git a/android/neverallow.go b/android/neverallow.go
index 566d73c..fdcbe1c 100644
--- a/android/neverallow.go
+++ b/android/neverallow.go
@@ -249,6 +249,7 @@
NotModuleType("prebuilt_sbin").
NotModuleType("prebuilt_system").
NotModuleType("prebuilt_first_stage_ramdisk").
+ NotModuleType("prebuilt_res").
Because("install_in_root is only for init_first_stage or librecovery_ui_ext."),
}
}
@@ -344,7 +345,6 @@
"prebuilt_priv_app",
"prebuilt_rfs",
"prebuilt_framework",
- "prebuilt_res",
"prebuilt_wlc_upt",
"prebuilt_odm",
"prebuilt_vendor_dlkm",