Extend PackageInfoNative to include sourceDir
This is the equivalent of getPackageCodePath() exposed by PM. This is needed by AVF client code to find the path corresponding to package name mentioned in (server side) signed configurations. Requirement: virtualizationmachine service which uses native pm consumes VM configuration supposed to contain the packagename of the apk. It requires sourceDir of the apk to mount the package into Microdroid VM. Test: adb shell service call package_native 2 s16 "com.android.microdroid.test" i32 0 Test: Compare above with `adb shell pm path com.android.microdroid.test` Bug: 438179019 Flag: build.RELEASE_AVF_ENABLE_ADVANCE_MULTITENANCY Change-Id: I1f47cb83aa238ba7d1e3d8a105793acd38277f6e
Loading
Please register or sign in to comment