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:
@@ -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
|
||||
|
Reference in New Issue
Block a user