What does foreground app mean?

An app is considered to be in the foreground if any of the following is true: It has a visible activity , whether the activity is started or paused. It has a foreground service. Another foreground app is connected to the app, either by binding to one of its services or by making use of one of its content providers.

Read more

What does run foreground service mean?

A foreground service performs some operation that is noticeable to the user . For example, an audio app would use a foreground service to play an audio track. Foreground services must display a Notification. Foreground services continue running even when the user isn’t interacting with the app.

Read more