commit | 0d7ae0ed82e21d472cde8cf92b5657d8ee8ca0d8 | [log] [tgz] |
---|---|---|
author | Leon Scroggins <scroggo@google.com> | Fri Jun 05 11:04:45 2009 -0400 |
committer | Leon Scroggins <scroggo@google.com> | Fri Jun 05 14:02:57 2009 -0400 |
tree | 0420746af4f22612035e773d3d0a6aa5eb998b3c | |
parent | bd34f7dbbb25059121c2eb9f0d3d8478d78e7e63 [diff] |
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.