Bug 1157534 - Hide HomePagerContainer when showing BrowserSearch and vice versa. r=margaret

We'd hide only the HomePager before, which left the HomeBanner appearing.

--HG--
extra : rebase_source : b6cefaa098fafea182eb43dd1d0e14c5e5725e74
This commit is contained in:
Michael Comella 2015-04-23 11:03:14 -07:00
Родитель 4262ab276d
Коммит 68bca54907
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2577,7 +2577,7 @@ public class BrowserApp extends GeckoApp
mBrowserSearchContainer.setVisibility(View.VISIBLE);
// Prevent overdraw by hiding the underlying HomePager View.
mHomePager.setVisibility(View.INVISIBLE);
mHomePagerContainer.setVisibility(View.INVISIBLE);
final FragmentManager fm = getSupportFragmentManager();
@ -2599,7 +2599,7 @@ public class BrowserApp extends GeckoApp
// To prevent overdraw, the HomePager is hidden when BrowserSearch is displayed:
// reverse that.
mHomePager.setVisibility(View.VISIBLE);
mHomePagerContainer.setVisibility(View.VISIBLE);
mBrowserSearchContainer.setVisibility(View.INVISIBLE);