Bug 833546: Rotating phone will open tabs-tray. [r=mfinkle]

--HG--
extra : rebase_source : 8f0e9406102233cdacfc1a993e3d35c91ec1d8be
This commit is contained in:
Sriram Ramasubramanian 2013-01-23 15:40:46 -08:00
parent 1bafd938ca
commit 4850102832

View File

@ -180,6 +180,9 @@ public class TabsPanel extends LinearLayout
@Override
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
if (!mVisible)
return;
Panel panel = TabsPanel.Panel.NORMAL_TABS;
if (position == 1)
panel = TabsPanel.Panel.PRIVATE_TABS;