diff options
author | Amith Yamasani <yamasani@google.com> | 2011-11-08 13:56:08 -0800 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2011-11-08 15:22:09 -0800 |
commit | 39dd54bee0d0d63284b49aeb3759dfafeaf13ab6 (patch) | |
tree | 5854c98bf4071280ad6d4d9390059e2d7a805d03 /src/com/android/settings/applications | |
parent | 2eb32b00775b6e308e1c422856c1046c6c33b54a (diff) | |
download | packages_apps_settings-39dd54bee0d0d63284b49aeb3759dfafeaf13ab6.zip packages_apps_settings-39dd54bee0d0d63284b49aeb3759dfafeaf13ab6.tar.gz packages_apps_settings-39dd54bee0d0d63284b49aeb3759dfafeaf13ab6.tar.bz2 |
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
Diffstat (limited to 'src/com/android/settings/applications')
-rw-r--r-- | src/com/android/settings/applications/ManageApplications.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/settings/applications/ManageApplications.java b/src/com/android/settings/applications/ManageApplications.java index 4157e8a..717c9df 100644 --- a/src/com/android/settings/applications/ManageApplications.java +++ b/src/com/android/settings/applications/ManageApplications.java @@ -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 |