Fix issue #9486022: Disabled Apps column doesn't always show up in Manage Apps
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
diff --git a/src/com/android/settings/applications/ManageApplications.java b/src/com/android/settings/applications/ManageApplications.java
index a223e20..7ec01aa 100644
--- a/src/com/android/settings/applications/ManageApplications.java
+++ b/src/com/android/settings/applications/ManageApplications.java
@@ -943,8 +943,8 @@
public void onResume() {
super.onResume();
mActivityResumed = true;
- updateNumTabs();
updateCurrentTab(mViewPager.getCurrentItem());
+ updateNumTabs();
updateOptionsMenu();
}