Merge "Make privileged java_library modules use uncompressed dex" am: 89ba9715ef
am: 8367be9da7
Change-Id: I18d0185aa672683f78591b603f5d74e805a50237
This commit is contained in:
commit
309ce85acd
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue