title: Android - myLooper() vs getMainLooper()
body: <p>Just clarifying but in an Android activity on MAIN Thread if I call <code>Looper.myLooper()</code> vs <code>Looper.getMainLooper()</code> the return the same reference, right? they are the same thing? I know I would never have to call these usually as Android takes care of this but I'd like to know how they differ when being called from the main thread?</p>
  
  <p>if from the main thread I call </p>
  
  <pre><code>Looper.myLooper().quit();
  // or
  Looper.getMainLooper().quit();
  </code></pre>
  
  <p>They both give the same runtime exception so I'm assuming they are the same reference:</p>
  
  <blockquote>
    <p>Caused by: java.lang.RuntimeException: Main thread not allowed to quit.</p>
  </blockquote>
  
  <p>can anyone confirm?</p>