Active or Running: When the Activities are in the foreground, they can be considered as Active or Running. Active or Running state is also known as the top of the Activity stack. Running state is known as the highest priority activity in Android.
Which status of application has highest priority in Android?
An application’s priority is equal to its highest-priority component. If two applications have the same priority, the process that has been at a lower priority longest will be killed first.
Which status of application has highest priority?
Example: Imagine the user is using Whatsapp, so the Whatsapp app will be said to be in the foreground state. This process is of the highest priority and they can only be killed by the system if the memory is so low that even this process cannot continue their execution.