title: Emulate Force Stop from ADB/Shell Commands
body: <p>Is there a way using the current command line tools (<code>adb</code>, <code>am</code>, <code>pm</code>) to emulate a user pressing Force Stop from the Settings app? Calling <code>kill &lt;pid&gt;</code> from the shell only works so well as to emulate what happens when the system kills a process, but Force Stop does more to remove the memory of an application by removing its <code>ActivityRecord</code> instances that Android saves around.</p>
  
  <p>Is there a shell command we can call to emulate this same behavior?</p>
  
  <p>Cheers.</p>