80,349
社区成员
发帖
与我相关
我的任务
分享
public static void startActivity(Context cxt, String dialInfo, String roomId) {
Bundle bundle = getBaseBundle(dialInfo);
bundle.putString(ImConstants.Bundle.CHAT_ID, roomId);
Intent intent = new Intent(cxt, B.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
intent.putExtras(bundle);
cxt.startActivity(intent);
}
解决了吗?