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

Skip to content
Commit cf968e9d authored by shafik's avatar shafik
Browse files

Prevent deadlock in RollbackManager#getAvailabeRollbacks

Throw an IllegalStateException if RollbackManager#getAvailabeRollbacks
is called from the handler thread.

Bug: 131745429
Test: manual test
        * Add a call to RollbackManager#getAvailabeRollbacks from
	RollbackPackageHealthObserver#onBootCompleted
	* Observe WTF logs and device bootlooping
Test: atest RollbackTest
Test: atest StagedRollbackTest
Change-Id: Icd649f0c9474ecf1e5468eb835d7cf4231f17fbc
parent 28c538d2
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