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

Commit 8e2be267 authored by Andy Stadler's avatar Andy Stadler
Browse files

Add versionCode and versionName to dumpsys packages

bug: 3090491
Change-Id: If116baaeb83bd282c5c5534fde6248f19830a71c
parent fb6431c0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7208,6 +7208,8 @@ class PackageManagerService extends IPackageManager.Stub {
                    pw.print("    pkgFlags=0x"); pw.print(Integer.toHexString(ps.pkgFlags));
                            pw.print(" installStatus="); pw.print(ps.installStatus);
                            pw.print(" enabled="); pw.println(ps.enabled);
                    pw.print("    versionCode="); pw.print(ps.versionCode);
                            pw.print(" versionName="); pw.println(ps.pkg.mVersionName);
                    if (ps.disabledComponents.size() > 0) {
                        pw.println("    disabledComponents:");
                        for (String s : ps.disabledComponents) {