UiContext, LightweightContext, ThreadPoolContext, and BackgroundContext are provided from the provided implementations.
This is for convenience usage at call sites to quickly create a coroutine scope matched to a particular context.
Bug: 407593767
Test: N/A
Flag: NONE - new module
Change-Id: Id4127db3586e903d83605bac8fd61e33c9a29db5
Implement the ExecutorsModule interface
to provide the necessary dependencies needed
for having injectable executors.
Bug: 407593767
Test: N/A
Flag: NONE - new module
Change-Id: I4a53fc6be31664b7a6fa907761ea93a2d0377f08
The following change contains three parts:
1. Qualifiers for executor types.
2. A mapping of any provided-for-those-qualifier-types to
executors, executor services, or scheduled executor servies.
3. The exposure of the existing dagger qualifiers as a specific build target.
With this change, any host(launcher) can provide bindings for
these annotations stipulating whatever pool or thread allocations
as they see fit, while any dependent modules that want to isolate
their code from launcher can build against the qualifiers library
to ensure that they receive the right kind of executor at injection.
Bug: 407593767
Test: N/A
Flag: NONE - new module
Change-Id: I7e6ba623c7f85ec11bb86d1d3a66486f68efe7f6