/** Dismisses the focused task. */
 public void dismissFocusedTask() {
   // Get the first stack view
   int childCount = getChildCount();
   for (int i = 0; i < childCount; i++) {
     View child = getChildAt(i);
     if (child != mSearchBar) {
       TaskStackView stackView = (TaskStackView) child;
       stackView.dismissFocusedTask();
       break;
     }
   }
 }