title: Android Q : background activity starts
body: <p><a href="https://developer.android.com/preview/privacy/background-activity-starts" rel="nofollow noreferrer">https://developer.android.com/preview/privacy/background-activity-starts</a></p>
  
  <p>Workng on Android Q , launching activity from background.</p>
  
  <p><strong>Apps running on Android Q can start activities only when one or more of the following conditions are met:</strong></p>
  
  <p><strong>"The app has an activity in the back stack of the foreground task."</strong></p>
  
  <p>Can someone explain what is "foreground task" mean here with example.</p>
  
  <p>Thanks</p>