am 4b8cc94c: Merge "PreferenceActivity should not leave message in looper when destroyed"
* commit '4b8cc94cc67d760e724c56aee9301d1bcc2bbe89': PreferenceActivity should not leave message in looper when destroyed
This commit is contained in:
@@ -901,6 +901,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) {
|
||||
|
||||
Reference in New Issue
Block a user