OSDN Git Service

Don't call SearchManager.isVisible() in Launcher.
authorBjorn Bringert <bringert@android.com>
Wed, 8 Jul 2009 11:38:25 +0000 (12:38 +0100)
committerBjorn Bringert <bringert@android.com>
Wed, 8 Jul 2009 11:38:25 +0000 (12:38 +0100)
commit0879cef6ddeda7e5e5409fe1277b9786aab32249
treeb0474e81773b65a57cba1473ef6fa58d60b8afb9
parenta206daaed1318005d1534cca2e4eeec56144d104
Don't call SearchManager.isVisible() in Launcher.

SearchManager.isVisible() is a hidden method that should
not be used by applications. Also, SearchManager.stopSearch()
already checks whether the search dialog is visible before
tryinf to dimiss it, so the check in Launcher was redundant.
src/com/android/launcher/Launcher.java