Fix conflict dialog to finish the container activity if BACK is pressed

This commit is contained in:
David A. Velasco 2012-11-21 17:48:56 +01:00
parent f03852032f
commit 6de96a9817

View file

@ -109,6 +109,11 @@ public class ConflictsResolveDialog extends SherlockDialogFragment {
}
}
@Override
public void onCancel(DialogInterface dialog) {
mListener.ConflictDecisionMade(Decision.CANCEL);
}
public interface OnConflictDecisionMadeListener {
public void ConflictDecisionMade(Decision decision);
}