OSDN Git Service

Prevent refreshing app search results with empty query.
authorWinson <winsonc@google.com>
Thu, 4 Aug 2016 00:08:10 +0000 (17:08 -0700)
committerWinson <winsonc@google.com>
Thu, 4 Aug 2016 01:01:10 +0000 (18:01 -0700)
commit45a11dd9ee5c9cdaa65527ae0ef1c8b004417f28
tree33f416889d62aace21619a34180e01da5d2b5ae9
parent5a5eb846c410c6ed6c1c0fb01edf82e118c35830
Prevent refreshing app search results with empty query.

- Any change to the TextView text will cause mQuery to be set,
  which will cause a new search next time refreshSearchResult
  is called.  We should also be checking there if it is a valid
  search query before starting a new search.

Bug: 30606307
Change-Id: I08640c56199211f2aeea2386fcf699810853ab58
src/com/android/launcher3/allapps/AllAppsSearchBarController.java