Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 360f8359 authored by Paul Duffin's avatar Paul Duffin
Browse files

Cleanup bootclasspathFragmentInitContentsFromImage

Removes some unnecessary logic left over from previous changes.

Bug: 177892522
Test: m nothing
Merged-In: Id11e2ea8a647283af1b152b33757132e44dcd6c3
Change-Id: Id11e2ea8a647283af1b152b33757132e44dcd6c3
(cherry picked from commit 58e7586b)
parent c75bbcec
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -233,14 +233,6 @@ func bootclasspathFragmentInitContentsFromImage(ctx android.EarlyModuleContext,
				commonApex, apex)
		}
	}

	if len(contents) != 0 {
		// Nothing to do.
		return
	}

	// Store the jars in the Contents property so that they can be used to add dependencies.
	m.properties.Contents = modules.CopyOfJars()
}

// bootclasspathImageNameContentsConsistencyCheck checks that the configuration that applies to this