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

Commit 5ef098a7 authored by Michael Wachenschwanz's avatar Michael Wachenschwanz
Browse files

Remove unnecessary spying in MockingOomAdjusterTests

ProcessRecord and WindowProcessController have a circular reference to
each other, so spying on a ProcessRecord will cause the reference cycle
to break. Removed some unnessary spy usage in MockingOomAdjuster to fix
this reference breakage for the pushActivityToOomAdjuster flagged code,
which relies on WPC reference to ProcessRecord.

Flag: EXEMPTED test fix
Bug: 401350380
Test: atest MockingOomAdjusterTests
Change-Id: If1805d581f4b7f31fbd584a17928146b200baf2c
parent 6c27a6b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment