зеркало из https://github.com/mozilla/gecko-dev.git
Bug 949429 - Correctly check HomePager presence and visibility on redisplay (r=rnewman)
This commit is contained in:
Родитель
de893521ab
Коммит
7df0e90023
|
@ -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());
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче