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

Skip to content
Commit e702a34a authored by Evan Laird's avatar Evan Laird
Browse files

[Sb] flowOn(bgDispatcher) to IPC calls

Any place in the mobile repositories that used a `conflatedCallbackFlow`
or `callbackFlow` which registered an IPC is now defined to
`flowOn(bgDispatcher)`. This ensures that the initial IPC that registers
the callbacks with the system runs on a background thread and doesn't
block.

Any processing after the `flowOn` still runs in the calling context.

Fixes: 290336252
Test: tests in systemui/statusbar/pipeline/
Change-Id: I9748040006701cbcbcafcb84b7b7ddce8f17a8ac
parent bf6f5e54
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