commit | 6a7421ba94b1fca0a20ddf146054ebd771ee471e | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Wed Jul 27 11:55:53 2011 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Wed Jul 27 11:55:53 2011 -0700 |
tree | 50f88d4215a8a1fad106a65723ba654d1d24ed61 | |
parent | 72de151fdb82e5e010c3461e37e492b8cce9b44a [diff] |
Don't submit a query if it's whitespace only. Just to maintain backward compatibility. It's not documented that a space is not a valid query, but it does make sense to expect that. Bug: 5079755 Also avoid showing an x by an empty query, by having the SearchDialog simulate an ActionBar. Change-Id: I3a9332286a439b659e179a249587c491ef29e5c1