mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
backout 7c458c70cd5c for suspected talos regression
This commit is contained in:
parent
a2a03608f4
commit
7a270dcf31
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user