diff options
author | Gavin Corkery <gavincorkery@google.com> | 2019-11-06 17:21:01 +0000 |
---|---|---|
committer | Gavin Corkery <gavincorkery@google.com> | 2019-12-11 12:40:33 +0000 |
commit | 9657a93fab3442ec038c09ccd60f1e2e8e7dc2fa (patch) | |
tree | 4b67e400f4e7f3b966b1f7befda4cd79abd80045 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 809e21fc286f7bffdb6dd835b9931adb7748ba08 (diff) |
Extend PackageFreezer for post-commit steps
To ensure that a package is not running during RollbackManager userdata
backup/restore (which could lead to non-deterministic results), the
period for which a package is frozen by PackageFreezer should be
extended
to cover the post-install steps which perform the backup/restore.
In the case of BackupManager restore, the package should be unfrozen
before this takes place. Otherwise, it will be unfrozen on receipt of
the POST_INSTALL message.
Bug: 124032231
Test: atest StagedInstallTest
Test: atest StagedRollbackTest
Change-Id: Ib8eb9b7ceaa86c52bf4bc9d7f3cba53469514cb6
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions