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

Skip to content
Commit 7846a952 authored by JW Wang's avatar JW Wang
Browse files

Add thread assertions (2/n)

Add runtime checks for which thread a method should be called from.
These assertions also catch potential deadlocks.

Note we don't add assertions to #expireRollbackForPackage because it is
called from both external and worker threads. We will fix that later.

Bug: 145335013
Test: atest CtsRollbackManagerHostTestCases
Test: atest RollbackTest
Test: atest StagedRollbackTest
Change-Id: I159d325bf157c5a5241571dff2e627d5f7c8e331
parent 456e537c
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