backout 7c458c70cd5c for suspected talos regression

This commit is contained in:
Margaret Leibovic 2014-03-13 07:48:57 -07:00
parent a2a03608f4
commit 7a270dcf31

View File

@ -1693,11 +1693,6 @@ abstract public class BrowserApp extends GeckoApp
mHomePager = (HomePager) homePagerStub.inflate(); mHomePager = (HomePager) homePagerStub.inflate();
final HomeBanner homeBanner = (HomeBanner) findViewById(R.id.home_banner); final HomeBanner homeBanner = (HomeBanner) findViewById(R.id.home_banner);
// Never show the home banner in guest mode.
if (GeckoProfile.get(this).inGuestMode()) {
mHomePagerContainer.removeView(homeBanner);
} else {
mHomePager.setBanner(homeBanner); mHomePager.setBanner(homeBanner);
// Remove the banner from the view hierarchy if it is dismissed. // Remove the banner from the view hierarchy if it is dismissed.
@ -1709,7 +1704,6 @@ abstract public class BrowserApp extends GeckoApp
} }
}); });
} }
}
mHomePagerContainer.setVisibility(View.VISIBLE); mHomePagerContainer.setVisibility(View.VISIBLE);
mHomePager.load(getSupportLoaderManager(), mHomePager.load(getSupportLoaderManager(),