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

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

Add filtering over action collection to test util

The getFutureForIntent utils currently filter on a single action, but
often we want to listen for multiple actions.

Add a version which takes a collection of actions, completing if the
predicate succeeds following any of the actions being received.

Flag: TEST_ONLY
Test: atest CtsAudioRecordPermissionTests
Bug: 349468644
Change-Id: I13d7b60f373897413316b6b96564e0c0c75236d1
parent 91277279
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