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

Commit 45f86b77 authored by Harry Cutts's avatar Harry Cutts
Browse files

BatteryControllerTests: create TestableContext as a @Rule

This is the way that TestableContext's JavaDoc recommends, to let it
clean up after itself once the test finishes, so we should do it anyway.
However, it won't fix b/339924248 on its own.

Bug: 339924248
Test: $ atest InputTests:com.android.server.input.BatteryControllerTests
Flag: TEST_ONLY
Change-Id: I53b40671286530a7c411cfff6bc08239f5baf13b
parent e53d473b
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