diff options
author | 2024-12-03 23:17:55 +0000 | |
---|---|---|
committer | 2024-12-03 23:21:41 +0000 | |
commit | 96f38d29eb1abef073a47f9747c8cdbaf4ba3d46 (patch) | |
tree | d5fb7140c411bb879446f6d6218977b0a5f866f1 /android/neverallow.go | |
parent | 7bc5be9e10f236dbe9d6029ba6b922a8d62683e9 (diff) |
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
Diffstat (limited to 'android/neverallow.go')
-rw-r--r-- | android/neverallow.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/neverallow.go b/android/neverallow.go index 566d73c54..fdcbe1cc8 100644 --- a/android/neverallow.go +++ b/android/neverallow.go @@ -249,6 +249,7 @@ func createInstallInRootAllowingRules() []Rule { 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 @@ func createPrebuiltEtcBpDefineRule() Rule { "prebuilt_priv_app", "prebuilt_rfs", "prebuilt_framework", - "prebuilt_res", "prebuilt_wlc_upt", "prebuilt_odm", "prebuilt_vendor_dlkm", |