mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 17:20:54 +00:00
Bug 768887 - Ensure that the toolbar remains hidden on rotation in full-screen mode. r=bnicholson
This commit is contained in:
parent
c23c76ee37
commit
5ce4bee8ce
@ -113,6 +113,10 @@ public class BrowserToolbar implements ViewSwitcher.ViewFactory,
|
||||
}
|
||||
|
||||
public void from(LinearLayout layout) {
|
||||
if (mLayout != null) {
|
||||
// make sure we retain the visibility property on rotation
|
||||
layout.setVisibility(mLayout.getVisibility());
|
||||
}
|
||||
mLayout = layout;
|
||||
|
||||
mShowSiteSecurity = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user