diff --git a/apex/apex.go b/apex/apex.go index 89313d441..82e2442e3 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -806,12 +806,6 @@ func makeApexAvailableWhitelist() map[string][]string { } func init() { - android.AddNeverAllowRules(android.NeverAllow(). - ModuleType("apex"). - With("updatable", "true"). - With("min_sdk_version", ""). - Because("All updatable apexes should set min_sdk_version.")) - android.RegisterModuleType("apex", BundleFactory) android.RegisterModuleType("apex_test", testApexBundleFactory) android.RegisterModuleType("apex_vndk", vndkApexBundleFactory)