Potential fix for monkey crash.

The tab was being changed by a "keypress" after the fragment was
destroyed. Disable the widget until a resume.

Bug: 5157399
Change-Id: Ic1515255052eaea01f71c133d8570f25d65351b2
This commit is contained in:
Amith Yamasani
2011-11-08 13:56:08 -08:00
parent 2eb32b0077
commit 39dd54bee0

View File

@@ -662,6 +662,7 @@ public class ManageApplications extends Fragment implements
mActivityResumed = true;
showCurrentTab();
updateOptionsMenu();
mTabHost.getTabWidget().setEnabled(true);
}
@Override
@@ -684,6 +685,7 @@ public class ManageApplications extends Fragment implements
mRunningProcessesView.doPause();
mResumedRunning = false;
}
mTabHost.getTabWidget().setEnabled(false);
}
@Override