Skip to content
Commit e0dbc98f authored by Nikita Ioffe's avatar Nikita Ioffe
Browse files

Don't use ApexInfo.packageName in StagingManager

* ApexInfo.packageName has a misleading name since it represents name
  of apex module (e.g. com.android.tzdata), not the packageName from
  AndroidManifest.xml of an apex (e.g. com.google.android.tzdata). Later
  should be used in PackageManager-world while former is apexd-internal
  name.
* Restructured code a little bit to make the pre-reboot verification
  flow easier follow.

Test: atest CtsStagedInstallHostTestCases
Test: adb shell pull /system/apex/com.android.resolv.apex /tmp/resolv.apex &&
      adb install /tmp/resolv.apex &&
      adb reboot &&
      <verify staged session was applied>
Bug: 132324953

Change-Id: Iedfe87f6e70a2e1d2792487ac7b2891693ceb72a
parent e87acb22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment