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

Commit 8367be9d authored by Colin Cross's avatar Colin Cross Committed by android-build-merger
Browse files

Merge "Make privileged java_library modules use uncompressed dex"

am: 89ba9715

Change-Id: I8d6f5a8ada04691c56bc4dfe72157e640ac7ec7c
parents 73481a4c 89ba9715
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1423,6 +1423,11 @@ func (j *Library) shouldUncompressDex(ctx android.ModuleContext) bool {
		android.DirectlyInAnyApex(ctx, ctx.ModuleName()) {
		return true
	}
	if ctx.Config().UncompressPrivAppDex() &&
		inList(ctx.ModuleName(), ctx.Config().ModulesLoadedByPrivilegedModules()) {
		return true
	}

	return false
}