Fix bug with choosing contact from quickadd

pull/14/head
Sam Bosley 13 years ago
parent 869adc42f6
commit 6ebe45df18

@ -939,6 +939,7 @@ public class EditPeopleControlSet extends PopupControlSet {
}
assignedCustom.setText(email);
dontClearAssignedCustom = true;
refreshDisplayView();
dialog.dismiss();
} else {
DialogUtilities.okDialog(activity, activity.getString(R.string.TEA_contact_error), null);

@ -395,6 +395,12 @@ public class QuickAddBar extends LinearLayout {
// the rest of onActivityResult is totally unrelated to
// voicerecognition, so bail out
return true;
} else if (requestCode == TaskEditFragment.REQUEST_CODE_CONTACT) {
if (resultCode == Activity.RESULT_OK)
peopleControl.onActivityResult(requestCode, resultCode, data);
else
peopleControl.assignToMe();
return true;
}

Loading…
Cancel
Save