Merge "Revert "Apex: add NeverAllowRule for updatable"" into rvc-dev am: b6e5e512de am: 3800e0687d am: 5a7ccd3a5b

Change-Id: I0a778ac36ed56114a025a481f891f95e046e4651
This commit is contained in:
Jooyung Han
2020-04-27 08:21:42 +00:00
committed by Automerger Merge Worker

View File

@@ -723,12 +723,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)