diff options
author | Suchi Amalapurapu <> | 2009-03-24 21:25:01 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-24 21:25:01 -0700 |
commit | 475b58296b0702f54546ae4cd254182ca757eff7 (patch) | |
tree | b65f2855d7754c37c6671fcfbdae88650c02c0ef /src/com/android/settings/ManageApplications.java | |
parent | 4d1de8cebd898fbb035907a7834bdcca0c6f8dac (diff) | |
download | packages_apps_Settings-475b58296b0702f54546ae4cd254182ca757eff7.tar.gz packages_apps_Settings-475b58296b0702f54546ae4cd254182ca757eff7.tar.bz2 packages_apps_Settings-475b58296b0702f54546ae4cd254182ca757eff7.zip |
Automated import from //branches/master/...@142035,142035
Diffstat (limited to 'src/com/android/settings/ManageApplications.java')
-rw-r--r-- | src/com/android/settings/ManageApplications.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/com/android/settings/ManageApplications.java b/src/com/android/settings/ManageApplications.java index dbbd249e8..1595de148 100644 --- a/src/com/android/settings/ManageApplications.java +++ b/src/com/android/settings/ManageApplications.java @@ -1459,8 +1459,12 @@ public class ManageApplications extends ListActivity implements public void onStop() { super.onStop(); // Stop the background threads - mResourceThread.setAbort(); - mSizeComputor.setAbort(); + if (mResourceThread != null) { + mResourceThread.setAbort(); + } + if (mSizeComputor != null) { + mSizeComputor.setAbort(); + } // clear all messages related to application list clearMessagesInHandler(); // register receiver here |