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.
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.