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

Commit f8ce6d52 authored by Calin Juravle's avatar Calin Juravle Committed by android-build-merger
Browse files

Merge "Fix dexopt dump"

am: 7ef65373

Change-Id: I2373f5f980866548444cb8b9731d79437da12c39
parents 44dc1167 7ef65373
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -429,16 +429,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());