Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1dc3b790 authored by Adam Powell's avatar Adam Powell Committed by Android Git Automerger
Browse files

am 4b8cc94c: Merge "PreferenceActivity should not leave message in looper when destroyed"

* commit '4b8cc94c':
  PreferenceActivity should not leave message in looper when destroyed
parents f094eefc 4b8cc94c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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) {