Currently, the RollbackManager is not aware of the apk-in-apex being installed since the install is done by PM during scan phase of boot. As such, RM does not backup the user data of the apk-in-apex. In the new implementation, we ask the RM to snapshot/restore user data of apk-in-apex while resuming the apex session in StagingManager. Bug: 142712057 Test: atest StagedRollbackTest#testRollbackApexWithApk Test: atest AppDataRollbackHelperTest Test: atest RollbackStoreTest Test: atest RollbackUnitTest Change-Id: Ibbaa5d0c98cb883588c085d77bc89c3e8217d76a
9 lines
337 B
XML
9 lines
337 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.apex.apkrollback.test">
|
|
<!-- APEX does not have classes.dex -->
|
|
<application android:hasCode="false" />
|
|
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="29"/>
|
|
</manifest>
|
|
|