Merge "PreferenceActivity should not leave message in looper when destroyed"
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user