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

We'd hide only the HomePager before, which left the HomeBanner appearing.
This commit is contained in:
Michael Comella 2015-04-23 11:03:14 -07:00
parent 9aae76d264
commit 4ffedb9871

View File

@ -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);