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

Commit aedbca88 authored by Florian Mayer's avatar Florian Mayer
Browse files

Add versionCode to packages.list.

This will be consumed by Perfetto to allow deobfuscating proguarded
method names in go/heapprofd heap profiles.

Bug: 123186697

Change-Id: Id7f03e59357645144554c7df2ddabe90500f2141
parent c4b4aaab
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2693,6 +2693,7 @@ public final class Settings {
                // seinfo     - seinfo label for the app (assigned at install time)
                // gids       - supplementary gids this app launches with
                // profileableFromShellFlag  - 0 or 1 if the package is profileable from shell.
                // longVersionCode - integer version of the package.
                //
                // NOTE: We prefer not to expose all ApplicationInfo flags for now.
                //
@@ -2720,6 +2721,8 @@ public final class Settings {
                }
                sb.append(" ");
                sb.append(ai.isProfileableByShell() ? "1" : "0");
                sb.append(" ");
                sb.append(String.valueOf(ai.longVersionCode));
                sb.append("\n");
                writer.append(sb);
            }