Loading apex/apex.go +6 −0 Original line number Original line Diff line number Diff line Loading @@ -1005,6 +1005,12 @@ func makeApexAvailableWhitelist() map[string][]string { } } func init() { 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", BundleFactory) android.RegisterModuleType("apex_test", testApexBundleFactory) android.RegisterModuleType("apex_test", testApexBundleFactory) android.RegisterModuleType("apex_vndk", vndkApexBundleFactory) android.RegisterModuleType("apex_vndk", vndkApexBundleFactory) Loading Loading
apex/apex.go +6 −0 Original line number Original line Diff line number Diff line Loading @@ -1005,6 +1005,12 @@ func makeApexAvailableWhitelist() map[string][]string { } } func init() { 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", BundleFactory) android.RegisterModuleType("apex_test", testApexBundleFactory) android.RegisterModuleType("apex_test", testApexBundleFactory) android.RegisterModuleType("apex_vndk", vndkApexBundleFactory) android.RegisterModuleType("apex_vndk", vndkApexBundleFactory) Loading