title: Is await blocking the UI thread on android?
body: <p>I have been wrapping my head around coroutines and I was wondering about the following code. 
  I have the following operation on my <strong>onCreate()</strong>. </p>
  
  <pre><code>asyncJob = GlobalScope.launch(Dispatchers.Main) {
      val name = async(Dispatchers.Default) { queryDevices() }.await()
      mDeviceName.text = deviceName
  }
  </code></pre>
  
  <p>Printing this out the order of execution seems to be before "name" is
  on UI thread and after name is set, it is on the UI thread as well. 
  The <strong>queryDevicesMethod()</strong> is in a background thread as expected. </p>
  
  <p>But I wanted to know what <strong>await()</strong> is actually doing when calling it on the UI thread?
  Is it blocking theUI thread until await returns?</p>