title: How to restart android application programmatically?
body: <p>In one of my projects we have 
   <code>ProcessPhoenix.triggerRebirth(context)</code>
  <a href="https://github.com/JakeWharton/ProcessPhoenix" rel="nofollow noreferrer">https://github.com/JakeWharton/ProcessPhoenix</a>
  when user was doing logout in the application<br>
  and the application is in production use 
  now what I found this 
  I don't understand this means I can use only for debug cases ,can't I use this for production cases or not?</p>
  
  <p><code>This should only be used for things like fundamental state changes in your debug builds (e.g., changing from staging to production).</code>
  it is written in github </p>
  
  <p>If no what is the alternative solution when I want to restart app on logout?</p>