title: Finding app by package name after pressRecentApps() and clicking on it
body: <p>I'm background my app using <code>pressHome()</code>, then attempting to foreground it with:</p>
  
  <pre><code>uiDevice.pressRecentApps();
  
  String packageName = "my.package.name";
  
  uiDevice.wait(Until.hasObject(By.pkg(packageName)), 60000L);
  
  UiObject myApp = uiDevice.findObject(new UiSelector().packageName(packageName));
  
  myApp.clickAndWaitForNewWindow();
  </code></pre>
  
  <p>But its giving me a <code>UiObjectNotFoundException</code></p>
  
  <p>Am I doing something wrong?</p>