Bug 1181882 - Hide find in page bar when home pager is shown. r=sebastian

--HG--
extra : commitid : 2RuhjpSdVzQ
extra : rebase_source : 4f5257487cc24fc263ec5a1fd377615ab92e7f62
extra : histedit_source : 302f3804c53e1448692533d6d9787db18b4e0257
This commit is contained in:
Michael Comella 2015-07-08 18:03:15 -07:00
Родитель 37410529a8
Коммит 15f184d590
1 изменённых файлов: 1 добавлений и 3 удалений

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

@ -2646,6 +2646,7 @@ public class BrowserApp extends GeckoApp
// FormAssistPopup.onMetricsChanged, which queues a runnable that undoes the effect of hide.
// With hide first, onMetricsChanged will return early instead.
mFormAssistPopup.hide();
mFindInPageBar.hide();
// Refresh toolbar height to possibly restore the toolbar padding
refreshToolbarHeight();
@ -2800,9 +2801,6 @@ public class BrowserApp extends GeckoApp
// We do this here because there are glitches when unlocking a device with
// BrowserSearch in the foreground if we use BrowserSearch.onStart/Stop.
getActivity().getWindow().setBackgroundDrawableResource(android.R.color.white);
// Hide potentially visible "find in page" bar (bug 1175434).
mFindInPageBar.hide();
}
private void hideBrowserSearch() {