title: How to clear a task in Android and change the root activity?
body: <p><strong>Situation</strong></p>
  
  <p>Activity A -> Activity B -> Activity C</p>
  
  <p>When Activity C starts I'd like C becomes the root Activity, while A and B finish.</p>
  
  <p>How can I achieve this?</p>
  
  <p><strong>UDPATE</strong></p>
  
  <p>I am on Level 10, so I can't use CLEAR_TASK flag that is for level 11 and superior.<strong>strong text</strong></p>