commit | 57fd399d1265ec627d28a15b3d4b98e5f239ac88 | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Thu Mar 03 16:27:40 2011 -0800 |
committer | Andy McFadden <fadden@android.com> | Thu Mar 03 16:54:06 2011 -0800 |
tree | c5b5d6f0b0b783c3ff3a33f33dcf63dd9ea76ebd | |
parent | 7c2a235afbe6299ac494650ff8d7ba6e6aed4368 [diff] |
Low-level support for in-memory DEX We want to be able to load classes from a DEX file in memory, rather than insisting that they always be loaded from disk. This provides the underpinnings. The code was previously using the "are we in dexopt" flag to decide if it needed to mprotect(RW) DEX data before altering it. We now have an explicit flag. Also, scraped off some "opt header flags" checks that never did much. Bug 1338213 Change-Id: If7128bf246992156662e089a2a87cebf475a6f2a