Same motivation as for the parent device: The monitor activity will be quickly destroyed, unless it is connected to a foreground service. By moving the thread and audio listener to a service, this should be avoided.
Same motivation as for the parent device: The monitor activity will be quickly destroyed, unless it is connected to a foreground service. By moving the thread and audio listener to a service, this should be avoided.