title: How to stop android from restoring state when the app process is killed?
body: <p>I'm facing an issue with the way android handles the launch of an activity after the app process has been killed.
  It tries to restore the activity with some previously collected data but that makes my app to crash (I did some research and found out that the usage of <code>?attr:themeAttr</code> in the xml layouts was the reason)</p>
  
  <p>I don't want android to restore anything after a process kill, is there a way to disable it ?</p>
  
  <p>Note: The same activity launches when clicking different keys, and the data shown are different too, based on the keys. </p>
  
  <p>Say, </p>
  
  <ul>
  <li>The activity was launched by pressing key '1', and minimized</li>
  <li>Android kills my process</li>
  <li>The user presses key '2' to launch the same activity</li>
  </ul>
  
  <p>In the above scenario, the activity needs to show fresh data based on the key '2'. So, android trying to restore the state of the activity before the process was killed (key '1' data) is unnatural for my case</p>
  
  <p>How to address this ?</p>