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

Skip to content
Commit dbf2fdc3 authored by Jordan Liu's avatar Jordan Liu
Browse files

Move AppInfo mock to FakeContext

Mockito occasionally complains due to some odd behavior related
to mocking calls in FakeContext (which is a spy(Context)). We
address this by implementing the function in FakeContext instead of
trying to mock it out later.

Fixes: 80431912
Test: atest CarrierServiceStateTrackerTest.java
Change-Id: I18385d84b85960efc51ea974c275ff6cfbf5cca5
Merged-In: I18385d84b85960efc51ea974c275ff6cfbf5cca5
parent 91d5bf9f
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