- All Implemented Interfaces:
- Runnable
public final class FgThread
extends ServiceThread
Shared singleton foreground thread for the system. This is a thread for regular
foreground service operations, which shouldn't be blocked by anything running in
the background. In particular, the shared background thread could be doing
relatively long-running operations like saving state to disk (in addition to
simply being a background priority), which can cause operations scheduled on it
to be delayed for a user-noticeable amount of time.