mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
fix bug where email didn't get launched when the only choice
This commit is contained in:
parent
2c7469f228
commit
019d9987c7
1 changed files with 3 additions and 3 deletions
|
@ -115,7 +115,6 @@ public class DlgDelegate {
|
|||
}
|
||||
|
||||
public static final int SMS_BTN = AlertDialog.BUTTON_POSITIVE;
|
||||
public static final int EMAIL_BTN = AlertDialog.BUTTON_NEGATIVE;
|
||||
public static final int NFC_BTN = AlertDialog.BUTTON_NEUTRAL;
|
||||
public static final int DISMISS_BUTTON = 0;
|
||||
|
||||
|
@ -354,8 +353,9 @@ public class DlgDelegate {
|
|||
} else {
|
||||
post( new Runnable() {
|
||||
public void run() {
|
||||
m_clickCallback.dlgButtonClicked( action, EMAIL_BTN,
|
||||
null );
|
||||
DlgClickNotify.InviteMeans means
|
||||
= DlgClickNotify.InviteMeans.EMAIL;
|
||||
m_clickCallback.inviteChoiceMade( action, means, null );
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue