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

Skip to content
Commit db032450 authored by Songchun Fan's avatar Songchun Fan Committed by Song Chun Fan
Browse files

[pm] make archiveTimeMillis as part of ArchiveState

Make this timestamp set at the time when ArchiveState is created. This
way we don't need to set the timestamp separately. The timestamp is
still preserved during serialization/deserialization. It will be deleted
along with the ArchiveState if the app is updated.

BUG: 310027113
Test: atest com.android.server.pm.PackageUserStateTest
Test: atest android.content.pm.cts.PackageInstallerArchiveTest#archiveApp_getArchiveTimeMillis
Test: atest android.content.pm.cts.PackageInstallerArchiveTest#archiveApp_archiveStateClearedAfterUpdate

Change-Id: I09f4f382ed3db21d4c45f9d9e93d15dcf9a07f2c
parent 5e8e346c
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