title: On Android, how long do I have to respond (and to what?) before being killed?
body: <p>On Android, it is my understanding that if you don't respond to certain events from the operating system within some timeout, it will deem your application to have hung and prompt the user to kill it.</p>
  
  <p>So my first question is: What, <em>specifically</em>, are those things? I would guess things like <code>Activity.onPause</code>, <code>View.onTouchEvent</code>, <code>SurfaceHolder.Callback.surfaceCreated</code>, etc? Is there a list? Or is it simply every single callback that comes from the OS?</p>
  
  <p>(Or is it perhaps implemented as how often some thread message queue is internally polled? Details?)</p>
  
  <p>And my second question is: How long is the timeout?</p>