diff options
| author | 2023-09-25 17:03:55 -0400 | |
|---|---|---|
| committer | 2023-09-25 17:12:56 -0400 | |
| commit | e702a34a01d82d9e8183d9b7308406575aa434d4 (patch) | |
| tree | ff09aae4f71a58807b48c73d4bc39b306bed510b /api/api.go | |
| parent | bf6f5e54986f652abcfe07b71e8311b6f80bdcc3 (diff) | |
[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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions