Merge "Make privileged java_library modules use uncompressed dex"
am: 89ba9715ef
Change-Id: I8d6f5a8ada04691c56bc4dfe72157e640ac7ec7c
This commit is contained in:
@@ -1423,6 +1423,11 @@ func (j *Library) shouldUncompressDex(ctx android.ModuleContext) bool {
|
|||||||
android.DirectlyInAnyApex(ctx, ctx.ModuleName()) {
|
android.DirectlyInAnyApex(ctx, ctx.ModuleName()) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if ctx.Config().UncompressPrivAppDex() &&
|
||||||
|
inList(ctx.ModuleName(), ctx.Config().ModulesLoadedByPrivilegedModules()) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user