title: Thread.sleep not crashes my app
body: <p>By calling <code>Thread.sleep</code> on the UI thread i expect my android app to crash, but it does not.</p>
  
  <p>I tried to explicitly run this on UI thread, by using <code>runOnUiThread</code> but the result was the same, the app freezes but not crashing.</p>
  
  <p>Should i expect the app to crash when using <code>Thread.sleep(6000)</code> on the UI thread?</p>
  
  <pre><code>public class CrashActivity extends Activity {
  
  @Override
  protected void onResume() {
      super.onResume();
  
      runOnUiThread(new Runnable() {
          @Override
          public void run() {
              try {
                  Thread.sleep(50000);
              } catch (InterruptedException e) {
                  e.printStackTrace();
              }
          }
      });
  }
  </code></pre>
  
  <p>I am trying to simulate ANR!</p>