Fix bug 5079507 - ICS (phone) : ActionBar tabs don't correctly resize
if activity handles orientation change

Make sure that bar content height and sizing/layout parameters are
properly updated after a configuration change.

Change-Id: I886df5cd9a655ba1bd34fab2b48e8b5be67fcc32
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index c6c4025..fb1570e 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -1403,16 +1403,18 @@
     public void onConfigurationChanged(Configuration newConfig) {
         mCalled = true;
 
-        if (mActionBar != null) {
-            mActionBar.onConfigurationChanged(newConfig);
-        }
-
         mFragments.dispatchConfigurationChanged(newConfig);
 
         if (mWindow != null) {
             // Pass the configuration changed event to the window
             mWindow.onConfigurationChanged(newConfig);
         }
+
+        if (mActionBar != null) {
+            // Do this last; the action bar will need to access
+            // view changes from above.
+            mActionBar.onConfigurationChanged(newConfig);
+        }
     }
     
     /**