Bug 949429 - Correctly check HomePager presence and visibility on redisplay (r=rnewman)

This commit is contained in:
Lucas Rocha 2013-12-12 12:34:03 -08:00
Родитель de893521ab
Коммит 7df0e90023
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1621,7 +1621,7 @@ abstract public class BrowserApp extends GeckoApp
@Override
public void onLocaleReady(final String locale) {
super.onLocaleReady(locale);
if (mHomePager != null) {
if (isHomePagerVisible()) {
// Blow it away and rebuild it with the right strings.
mHomePager.redisplay(getSupportLoaderManager(), getSupportFragmentManager());
}