summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/ManageApplications.java
diff options
context:
space:
mode:
authorSuchi Amalapurapu <>2009-03-24 21:25:01 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-24 21:25:01 -0700
commit475b58296b0702f54546ae4cd254182ca757eff7 (patch)
treeb65f2855d7754c37c6671fcfbdae88650c02c0ef /src/com/android/settings/ManageApplications.java
parent4d1de8cebd898fbb035907a7834bdcca0c6f8dac (diff)
downloadpackages_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.java8
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