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

Skip to content
Commit 1f571c64 authored by Richard Uhler's avatar Richard Uhler Committed by Narayan Kamath
Browse files

Clean up how APK backups are made.

In preparation for supporting backup of APEX files.

Get the path to the apk using PackageInfo rather than through
PackageManagerInternal APIs. This new approach will work for both
APKs and APEX files.

Copy the apk manually rather than using PackageManagerServiceUtils,
which will work for both APKs and APEX files.

Bug: 112431924
Test: atest RollbackTest
Change-Id: Ifa9d42da9f0bf048f62dae891d59c3ac54fae438
parent b39aaa49
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