mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
launch chat next to board. Works to send, but crash when opening the
notification that results.
This commit is contained in:
parent
b8b73cc321
commit
76404258a3
1 changed files with 3 additions and 3 deletions
|
@ -273,10 +273,10 @@ public class ChatDelegate extends DelegateBase {
|
|||
bundle.putStringArray( INTENT_KEY_NAMES, names );
|
||||
bundle.putBooleanArray( INTENT_KEY_LOCS, locs );
|
||||
|
||||
Activity activity = delegator.getActivity();
|
||||
if ( activity instanceof FragActivity ) {
|
||||
FragActivity.addFragment( new ChatFrag(), bundle, delegator );
|
||||
if ( delegator.inDPMode() ) {
|
||||
delegator.addFragment( new ChatFrag(), bundle );
|
||||
} else {
|
||||
Activity activity = delegator.getActivity();
|
||||
Intent intent = new Intent( activity, ChatActivity.class );
|
||||
intent.putExtras( bundle );
|
||||
activity.startActivityForResult( intent, requestCode.ordinal() );
|
||||
|
|
Loading…
Reference in a new issue