Fix a monkey crash.

The monkey crashed because getTopWindow() returned null.
Ensure that we either have a top window, or we are in
the tab picker.  If neither is true, return false, to
avoid the null pointer exception.
1 file changed