mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +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 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 NFC_BTN = AlertDialog.BUTTON_NEUTRAL;
|
||||||
public static final int DISMISS_BUTTON = 0;
|
public static final int DISMISS_BUTTON = 0;
|
||||||
|
|
||||||
|
@ -354,8 +353,9 @@ public class DlgDelegate {
|
||||||
} else {
|
} else {
|
||||||
post( new Runnable() {
|
post( new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
m_clickCallback.dlgButtonClicked( action, EMAIL_BTN,
|
DlgClickNotify.InviteMeans means
|
||||||
null );
|
= DlgClickNotify.InviteMeans.EMAIL;
|
||||||
|
m_clickCallback.inviteChoiceMade( action, means, null );
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue