Set ApplicationInfo (long)versionCode for APEX.
PackageManagerShellCommand defaults to the versionCode contained in PackageInfo.ApplicationInfo if ApplicationInfo is present. Set longVersionCode to both PackageInfo and ApplicationInfo, and also change PackageManagerShellCommand to use longVersionCode instead of the deprecated versionCode. Test: atest android.content.pm.PackageParserTest#testApexPackageInfoGeneration Test: atest apex_e2e_tests Bug: 123228186 Bug: 123086053 Change-Id: Ief32f708ba2fa997ac4175134db5bfac2e5eb1d2
Loading
Please register or sign in to comment