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

Skip to content
Commit a73b3ddc authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Remove unnecessary power manager wrapper for wmtests

Because SystemServicesTestRule uses:
 final PowerManager pm = mock(PowerManager.class);
 doReturn(pm).when(mContext).getSystemService(eq(POWER_SERVICE));
The methods of PowerManager are already no-op and verifiable.

Bug: 163976519
Test: WindowStateTests#testPrepareWindowToDisplayDuringRelayout
Change-Id: I5d6396a0d0975c89de1d17fdb884a676b8d359cc
parent 96bbd316
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