mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout 7b516748a65c for test failures
This commit is contained in:
parent
adfc27f89d
commit
78f14de823
@ -126,9 +126,7 @@ public class AwesomeBar extends GeckoActivity {
|
|||||||
|
|
||||||
mTarget = intent.getStringExtra(TARGET_KEY);
|
mTarget = intent.getStringExtra(TARGET_KEY);
|
||||||
if (mTarget.equals(Target.CURRENT_TAB.name())) {
|
if (mTarget.equals(Target.CURRENT_TAB.name())) {
|
||||||
// Bug 816332 needs to be fixed to avoid AwesomeBar opening before tabs exist.
|
if (Tabs.getInstance().getSelectedTab().isPrivate()) {
|
||||||
Tab tab = Tabs.getInstance().getSelectedTab();
|
|
||||||
if (tab != null && tab.isPrivate()) {
|
|
||||||
BrowserToolbarBackground mAddressBarBg = (BrowserToolbarBackground) findViewById(R.id.address_bar_bg);
|
BrowserToolbarBackground mAddressBarBg = (BrowserToolbarBackground) findViewById(R.id.address_bar_bg);
|
||||||
mAddressBarBg.setPrivateMode(true);
|
mAddressBarBg.setPrivateMode(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user