diff --git a/src/org/thoughtcrime/securesms/RecipientPreferenceActivity.java b/src/org/thoughtcrime/securesms/RecipientPreferenceActivity.java index 843d213759..5256e685fc 100644 --- a/src/org/thoughtcrime/securesms/RecipientPreferenceActivity.java +++ b/src/org/thoughtcrime/securesms/RecipientPreferenceActivity.java @@ -164,6 +164,11 @@ public class RecipientPreferenceActivity extends PassphraseRequiredActionBarActi setSummaries(recipients); } + @Override + public void onDestroy() { + this.recipients.removeListener(this); + } + private void setSummaries(Recipients recipients) { CheckBoxPreference mutePreference = (CheckBoxPreference) this.findPreference(PREFERENCE_MUTED); RingtonePreference ringtonePreference = (RingtonePreference) this.findPreference(PREFERENCE_TONE);