Merge "Fix dexopt dump" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
479af339de
@@ -438,16 +438,7 @@ public class PackageDexOptimizer {
|
||||
PackageDexUsage.DexUseInfo dexUseInfo = e.getValue();
|
||||
pw.println(dex);
|
||||
pw.increaseIndent();
|
||||
for (String isa : dexUseInfo.getLoaderIsas()) {
|
||||
String status = null;
|
||||
try {
|
||||
status = DexFile.getDexFileStatus(path, isa);
|
||||
} catch (IOException ioe) {
|
||||
status = "[Exception]: " + ioe.getMessage();
|
||||
}
|
||||
pw.println(isa + ": " + status);
|
||||
}
|
||||
|
||||
// TODO(calin): get the status of the oat file (needs installd call)
|
||||
pw.println("class loader context: " + dexUseInfo.getClassLoaderContext());
|
||||
if (dexUseInfo.isUsedByOtherApps()) {
|
||||
pw.println("used be other apps: " + dexUseInfo.getLoadingPackages());
|
||||
|
||||
Reference in New Issue
Block a user