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

Skip to content
Commit 6ab74492 authored by Atneya Nair's avatar Atneya Nair
Browse files

Add getFutureForListener to TestUtils

Abstract out listener registration logic from getFutureForIntent to
apply to other listener registration callbacks.

Add tests which ensure that the listener is unregistered when the future
completes or is cancelled.

Bug: 288333346
Bug: 294636572
Test: atest mediatestutilstests
Change-Id: I91f34ee2e215cafe0d0cd0b33f831b244850ab06
parent 13e208cf
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