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

Skip to content
Commit 26f89e2f authored by JW Wang's avatar JW Wang
Browse files

Rewrite expireRollbackForPackage (3/n)

Split the method into 2 parts to uphold thread invariants.

Note since the original expireRollbackForPackage do the expiration
synchronously, we have to block the caller thread until the task is done
on the handler thread.

This dispatch-and-wait pattern will be used in the following CLs.

Bug: 145335013
Test: atest CtsRollbackManagerHostTestCases
Test: atest RollbackTest
Test: atest StagedRollbackTest
Change-Id: Icf39d70c4f9af77b41598d341063e35bb5c900ac
parent 7846a952
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