diff options
author | Adam Powell <adamp@android.com> | 2013-07-12 22:07:04 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-07-12 22:07:04 +0000 |
commit | 4b8cc94cc67d760e724c56aee9301d1bcc2bbe89 (patch) | |
tree | af9887ef6a40d56a6383ea56b2d7e7e14658f87d | |
parent | c5de9c3509e6f91f1a6fca4541c5a2dfc9878dcc (diff) | |
parent | 1ebf13ef20fea56f55094a3744c9813500a55b17 (diff) | |
download | frameworks_base-4b8cc94cc67d760e724c56aee9301d1bcc2bbe89.zip frameworks_base-4b8cc94cc67d760e724c56aee9301d1bcc2bbe89.tar.gz frameworks_base-4b8cc94cc67d760e724c56aee9301d1bcc2bbe89.tar.bz2 |
Merge "PreferenceActivity should not leave message in looper when destroyed"
-rw-r--r-- | core/java/android/preference/PreferenceActivity.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/preference/PreferenceActivity.java b/core/java/android/preference/PreferenceActivity.java index 09ff7be..d4e85ed 100644 --- a/core/java/android/preference/PreferenceActivity.java +++ b/core/java/android/preference/PreferenceActivity.java @@ -895,6 +895,8 @@ public abstract class PreferenceActivity extends ListActivity implements @Override protected void onDestroy() { + mHandler.removeMessages(MSG_BIND_PREFERENCES); + mHandler.removeMessages(MSG_BUILD_HEADERS); super.onDestroy(); if (mPreferenceManager != null) { |