Automated import from //branches/master/...@142035,142035

This commit is contained in:
Suchi Amalapurapu
2009-03-24 21:25:01 -07:00
committed by The Android Open Source Project
parent 4d1de8cebd
commit 475b58296b

View File

@@ -1459,8 +1459,12 @@ public class ManageApplications extends ListActivity implements
public void onStop() { public void onStop() {
super.onStop(); super.onStop();
// Stop the background threads // Stop the background threads
if (mResourceThread != null) {
mResourceThread.setAbort(); mResourceThread.setAbort();
}
if (mSizeComputor != null) {
mSizeComputor.setAbort(); mSizeComputor.setAbort();
}
// clear all messages related to application list // clear all messages related to application list
clearMessagesInHandler(); clearMessagesInHandler();
// register receiver here // register receiver here