From 78f14de8239cdfdded51cafe6b70dc2e72dcdc4c Mon Sep 17 00:00:00 2001 From: Mark Finkle Date: Wed, 28 Nov 2012 21:54:58 -0500 Subject: [PATCH] Backout 7b516748a65c for test failures --- mobile/android/base/AwesomeBar.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mobile/android/base/AwesomeBar.java b/mobile/android/base/AwesomeBar.java index bf15f38bba1..bf43e5062c6 100644 --- a/mobile/android/base/AwesomeBar.java +++ b/mobile/android/base/AwesomeBar.java @@ -126,9 +126,7 @@ public class AwesomeBar extends GeckoActivity { mTarget = intent.getStringExtra(TARGET_KEY); if (mTarget.equals(Target.CURRENT_TAB.name())) { - // Bug 816332 needs to be fixed to avoid AwesomeBar opening before tabs exist. - Tab tab = Tabs.getInstance().getSelectedTab(); - if (tab != null && tab.isPrivate()) { + if (Tabs.getInstance().getSelectedTab().isPrivate()) { BrowserToolbarBackground mAddressBarBg = (BrowserToolbarBackground) findViewById(R.id.address_bar_bg); mAddressBarBg.setPrivateMode(true);