Fix for NPE when group selection fragment is no longer attached to activity.

This commit is contained in:
Moxie Marlinspike
2013-05-30 20:35:56 -07:00
parent 0534f9d95a
commit ad1d927437
2 changed files with 3 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ public class ContactSelectionActivity extends PassphraseRequiredSherlockFragment
private void handleSelectionFinished() {
recipients = contactsFragment.getSelectedContacts();
recipients.append(recentFragment.getSelectedContacts());
recipients.append(groupsFragment.getSelectedContacts());
recipients.append(groupsFragment.getSelectedContacts(this));
Intent resultIntent = getIntent();
resultIntent.putExtra("recipients", this.recipients);