OSDN Git Service

Fix issue #9486022: Disabled Apps column doesn't always show up in Manage Apps
authorDianne Hackborn <hackbod@google.com>
Thu, 20 Jun 2013 00:01:51 +0000 (17:01 -0700)
committerDianne Hackborn <hackbod@google.com>
Thu, 20 Jun 2013 00:01:51 +0000 (17:01 -0700)
We need to resume the current tab before checking to see if
there are any disabled apps and deciding from that the number
of tabs to show.

Change-Id: I95037f15ff7a97f0234143d10ebcee79224a3114

src/com/android/settings/applications/ManageApplications.java

index a223e20..7ec01aa 100644 (file)
@@ -943,8 +943,8 @@ public class ManageApplications extends Fragment implements
     public void onResume() {
         super.onResume();
         mActivityResumed = true;
-        updateNumTabs();
         updateCurrentTab(mViewPager.getCurrentItem());
+        updateNumTabs();
         updateOptionsMenu();
     }