зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 95562517dc8c (bug 938818) for Android crashes.
This commit is contained in:
Родитель
a8cd600934
Коммит
976017db14
|
@ -1657,7 +1657,7 @@ abstract public class BrowserApp extends GeckoApp
|
|||
private void hideWebContent() {
|
||||
// The view is set to INVISIBLE, rather than GONE, to avoid
|
||||
// the additional requestLayout() call.
|
||||
mLayerView.hide();
|
||||
mLayerView.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1684,7 +1684,7 @@ abstract public class BrowserApp extends GeckoApp
|
|||
mHideWebContentOnAnimationEnd = false;
|
||||
|
||||
// Display the previously hidden web content (which prevented screen reader access).
|
||||
mLayerView.show();
|
||||
mLayerView.setVisibility(View.VISIBLE);
|
||||
|
||||
if (mHomePager != null) {
|
||||
mHomePager.hide();
|
||||
|
|
Загрузка…
Ссылка в новой задаче