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

Commit 8975ee31 authored by Alan Stokes's avatar Alan Stokes Committed by Automerger Merge Worker
Browse files

Merge "Simplify ApexInfo classpath info" am: 3281d1b8 am: 045526da am:...

Merge "Simplify ApexInfo classpath info" am: 3281d1b8 am: 045526da am: 1f0e7adc am: 52c0ee5c

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1931078

Change-Id: I1ca8de06eb62b6aa17a96fc5f8b5f93fae302b5b
parents e73c58ed 52c0ee5c
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -932,9 +932,7 @@ public class StagingManager {
                    info.diskImagePath = ai.modulePath;
                    info.versionCode = ai.versionCode;
                    info.versionName = ai.versionName;
                    info.hasBootClassPathJars = ai.hasBootClassPathJars;
                    info.hasDex2OatBootClassPathJars = ai.hasDex2OatBootClassPathJars;
                    info.hasSystemServerClassPathJars = ai.hasSystemServerClassPathJars;
                    info.hasClassPathJars = ai.hasClassPathJars;
                    return info;
                }
            }
+1 −2
Original line number Diff line number Diff line
@@ -479,8 +479,7 @@ public class StagedInstallInternalTest {
        // Query proper module name
        result = getPackageManagerNative().getStagedApexInfo(TEST_APEX_PACKAGE_NAME);
        assertThat(result.moduleName).isEqualTo(TEST_APEX_PACKAGE_NAME);
        assertThat(result.hasBootClassPathJars).isTrue();
        assertThat(result.hasSystemServerClassPathJars).isTrue();
        assertThat(result.hasClassPathJars).isTrue();
        InstallUtils.openPackageInstallerSession(sessionId).abandon();
    }