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

Commit 6ddbd5e9 authored by Shikha Panwar's avatar Shikha Panwar
Browse files

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
parent 7c5eaf60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment