diff options
Diffstat (limited to 'java/systemserver_classpath_fragment.go')
-rw-r--r-- | java/systemserver_classpath_fragment.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/systemserver_classpath_fragment.go b/java/systemserver_classpath_fragment.go index a2cd2619a..f6cb79585 100644 --- a/java/systemserver_classpath_fragment.go +++ b/java/systemserver_classpath_fragment.go @@ -160,7 +160,7 @@ func (s *SystemServerClasspathModule) configuredJars(ctx android.ModuleContext) // This is an exception to support end-to-end test for ApexdUnitTests, until such support exists. if android.InList("test_service-apexd", possibleUpdatableModules) { jars = jars.Append("com.android.apex.test_package", "test_service-apexd") - } else if global.ApexSystemServerJars.Len() > 0 && len(unknown) > 0 && !android.IsModuleInVersionedSdk(ctx.Module()) { + } else if global.ApexSystemServerJars.Len() > 0 && len(unknown) > 0 { // For non test apexes, make sure that all contents are actually declared in make. ctx.ModuleErrorf("%s in contents must also be declared in PRODUCT_APEX_SYSTEM_SERVER_JARS", unknown) } |