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

Skip to content
Commit 13e208cf authored by Atneya Nair's avatar Atneya Nair
Browse files

Add getFutureForIntent

Add helper function which gets a future associated with an intent
broadcast matching a certain action and predicate.

Automatically unregister the listener when the future is completed or
cancelled.

Add unit tests.

Bug: 288333346
Bug: 294636572
Test: atest GetFutureForIntentTest
Change-Id: Ie26487d3f727691d001b3d0392dc0fcdf5b5a2db
parent b9dbeea2
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