Commit e9af04be47f2bcbec5e04eca468b13cbbbd5ce07

Authored by 王琳
1 parent 8ee1b9a7

修给部分开放接口

Showing 41 changed files with 1335 additions and 935 deletions
IMLib/build/intermediates/bundles/release/classes.jar
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$1.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$10.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$11.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$12.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$13.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$14.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$2.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$3.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$4.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$5.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$6.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$7.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$8.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat$9.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/Chat.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/ChatUtil.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/base/IChat.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/model/CNUserInfo.class
No preview for this file type
IMLib/build/intermediates/classes/release/io/rong/imlib/receiver/SealNotificationReceiver.class
No preview for this file type
IMLib/build/intermediates/incremental/mergeDebugAndroidTestResources/compile-file-map.properties
1   -#Wed Feb 22 15:18:03 CST 2017
  1 +#Thu Feb 23 18:14:08 CST 2017
... ...
IMLib/build/intermediates/incremental/mergeDebugResources/compile-file-map.properties
1   -#Wed Feb 22 15:18:02 CST 2017
  1 +#Thu Feb 23 18:14:06 CST 2017
... ...
IMLib/build/intermediates/incremental/mergeReleaseResources/compile-file-map.properties
1   -#Wed Feb 22 15:18:18 CST 2017
  1 +#Thu Feb 23 18:14:46 CST 2017
... ...
IMLib/build/intermediates/incremental/packageDebugResources/compile-file-map.properties
1   -#Wed Feb 22 15:18:03 CST 2017
  1 +#Thu Feb 23 18:14:08 CST 2017
... ...
IMLib/build/intermediates/incremental/packageReleaseResources/compile-file-map.properties
1   -#Wed Feb 22 15:18:03 CST 2017
  1 +#Thu Feb 23 18:14:08 CST 2017
... ...
IMLib/build/intermediates/res/resources-debug-androidTest.ap_
No preview for this file type
IMLib/build/intermediates/transforms/proguard/release/jars/3/3/main.jar
No preview for this file type
IMLib/build/outputs/aar/IMLib-debug.aar
No preview for this file type
IMLib/build/outputs/aar/IMLib-release.aar
No preview for this file type
IMLib/build/outputs/mapping/release/dump.txt
... ... @@ -6522,17 +6522,20 @@ _____________________________________________________________________
6522 6522 Interfaces (count = 1):
6523 6523 + Class [io/rong/imlib/base/IChat]
6524 6524  
6525   -Constant Pool (count = 426):
  6525 +Constant Pool (count = 507):
6526 6526 + String []
6527   - + String [ : ]
6528 6527 + String [&name=]
6529 6528 + String [&portraitUri=]
6530   - + String [DemoView]
  6529 + + String [-]
  6530 + + String [N16VJFIPE22p]
  6531 + + String [chatRoom]
6531 6532 + String [currentUser should not be null.]
  6533 + + String [e5t4ouvpe5qea]
6532 6534 + String [https://api.cn.ronghub.com/user/getToken.json]
  6535 + + String [private]
6533 6536 + String [userId=]
  6537 + + String [??]
6534 6538 + Class [android/net/Uri]
6535   - + Class [android/util/Log]
6536 6539 + Class [io/rong/imlib/Chat]
6537 6540 + Class [io/rong/imlib/Chat$1]
6538 6541 + Class [io/rong/imlib/Chat$10]
... ... @@ -6578,7 +6581,12 @@ Constant Pool (count = 426):
6578 6581 + Class [io/rong/message/TextMessage]
6579 6582 + Class [java/lang/Object]
6580 6583 + Class [java/lang/RuntimeException]
  6584 + + Class [java/lang/String]
6581 6585 + Class [java/lang/StringBuilder]
  6586 + + Class [java/lang/System]
  6587 + + Class [java/util/ArrayList]
  6588 + + Class [java/util/List]
  6589 + + Class [java/util/UUID]
6582 6590 + Fieldref [io/rong/imlib/Chat.APP_KEY Ljava/lang/String;]
6583 6591 + Fieldref [io/rong/imlib/Chat.APP_SECRET Ljava/lang/String;]
6584 6592 + Fieldref [io/rong/imlib/Chat.chat Lio/rong/imlib/Chat;]
... ... @@ -6587,6 +6595,7 @@ Constant Pool (count = 426):
6587 6595 + Fieldref [io/rong/imlib/Chat.currentCNUser Lio/rong/imlib/model/CNUserInfo;]
6588 6596 + Fieldref [io/rong/imlib/Chat.currentRoomId Ljava/lang/String;]
6589 6597 + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
  6598 + + Fieldref [io/rong/imlib/Chat.defMessageCount I]
6590 6599 + Fieldref [io/rong/imlib/Chat.mConnectStatusListener Lio/rong/imlib/base/IChat$OnConnectStatusListener;]
6591 6600 + Fieldref [io/rong/imlib/Chat.mOnChatRoomActionListener Lio/rong/imlib/base/IChat$OnChatRoomActionListener;]
6592 6601 + Fieldref [io/rong/imlib/Chat.mOnConnectionListener Lio/rong/imlib/base/IChat$OnConnectListener;]
... ... @@ -6596,17 +6605,22 @@ Constant Pool (count = 426):
6596 6605 + Fieldref [io/rong/imlib/Chat.mOnResultListener Lio/rong/imlib/base/IChat$OnResultListener;]
6597 6606 + Fieldref [io/rong/imlib/Chat.mOnSendMessageListener Lio/rong/imlib/base/IChat$OnSendMessageListener;]
6598 6607 + Fieldref [io/rong/imlib/Chat.onReceiveMessageListener Lio/rong/imlib/RongIMClient$OnReceiveMessageListener;]
  6608 + + Fieldref [io/rong/imlib/Chat.roomIdList Ljava/util/List;]
6599 6609 + Fieldref [io/rong/imlib/model/Conversation$ConversationType.CHATROOM Lio/rong/imlib/model/Conversation$ConversationType;]
6600 6610 + Fieldref [io/rong/imlib/model/Conversation$ConversationType.PRIVATE Lio/rong/imlib/model/Conversation$ConversationType;]
6601 6611 + Methodref [android/net/Uri.parse (Ljava/lang/String;)Landroid/net/Uri;]
6602 6612 + Methodref [android/net/Uri.toString ()Ljava/lang/String;]
6603   - + Methodref [android/util/Log.e (Ljava/lang/String;Ljava/lang/String;)I]
6604 6613 + Methodref [io/rong/imlib/Chat.<init> ()V]
6605 6614 + Methodref [io/rong/imlib/Chat.cnMessage (Lio/rong/imlib/model/Message;)Lio/rong/imlib/model/CNMessage;]
  6615 + + Methodref [io/rong/imlib/Chat.connect (Lio/rong/imlib/model/CNUserInfo;)V]
  6616 + + Methodref [io/rong/imlib/Chat.disconnect (Z)V]
6606 6617 + Methodref [io/rong/imlib/Chat.getToken (Lio/rong/imlib/model/CNUserInfo;Lio/rong/imlib/network/HttpUtil$OnResponse;)V]
6607   - + Methodref [io/rong/imlib/Chat.sendChatRoomMessage (Lio/rong/imlib/model/MessageContent;)V]
  6618 + + Methodref [io/rong/imlib/Chat.joinChatRoom (Ljava/lang/String;I)V]
  6619 + + Methodref [io/rong/imlib/Chat.sendChatRoomMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
  6620 + + Methodref [io/rong/imlib/Chat.sendPrivateMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
6608 6621 + Methodref [io/rong/imlib/Chat.setChatRoomActionListener (Lio/rong/imlib/RongIMClient$ChatRoomActionListener;)V]
6609 6622 + Methodref [io/rong/imlib/Chat.setConnectStatusListener (Lio/rong/imlib/RongIMClient$ConnectionStatusListener;)V]
  6623 + + Methodref [io/rong/imlib/Chat.setCurrentUser (Lio/rong/imlib/model/UserInfo;)V]
6610 6624 + Methodref [io/rong/imlib/Chat.setOnReceiveMessageListener (Lio/rong/imlib/RongIMClient$OnReceiveMessageListener;)V]
6611 6625 + Methodref [io/rong/imlib/Chat$1.<init> (Lio/rong/imlib/Chat;)V]
6612 6626 + Methodref [io/rong/imlib/Chat$10.<init> (Lio/rong/imlib/Chat;)V]
... ... @@ -6637,6 +6651,7 @@ Constant Pool (count = 426):
6637 6651 + Methodref [io/rong/imlib/model/CNMessage.setContent (Ljava/lang/String;)V]
6638 6652 + Methodref [io/rong/imlib/model/CNMessage.setUserInfo (Lio/rong/imlib/model/CNUserInfo;)V]
6639 6653 + Methodref [io/rong/imlib/model/CNUserInfo.<init> ()V]
  6654 + + Methodref [io/rong/imlib/model/CNUserInfo.<init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V]
6640 6655 + Methodref [io/rong/imlib/model/CNUserInfo.getHeadUrl ()Ljava/lang/String;]
6641 6656 + Methodref [io/rong/imlib/model/CNUserInfo.getUserId ()Ljava/lang/String;]
6642 6657 + Methodref [io/rong/imlib/model/CNUserInfo.getUserName ()Ljava/lang/String;]
... ... @@ -6651,38 +6666,58 @@ Constant Pool (count = 426):
6651 6666 + Methodref [io/rong/imlib/model/UserInfo.getName ()Ljava/lang/String;]
6652 6667 + Methodref [io/rong/imlib/model/UserInfo.getPortraitUri ()Landroid/net/Uri;]
6653 6668 + Methodref [io/rong/imlib/model/UserInfo.getUserId ()Ljava/lang/String;]
  6669 + + Methodref [io/rong/imlib/model/UserInfo.setName (Ljava/lang/String;)V]
  6670 + + Methodref [io/rong/imlib/model/UserInfo.setPortraitUri (Landroid/net/Uri;)V]
6654 6671 + Methodref [io/rong/imlib/network/HttpUtil.<init> ()V]
6655 6672 + Methodref [io/rong/imlib/network/HttpUtil.getRcHeader (Ljava/lang/String;Ljava/lang/String;)Lio/rong/imlib/network/HttpUtil$Header;]
6656 6673 + Methodref [io/rong/imlib/network/HttpUtil.post (Ljava/lang/String;Lio/rong/imlib/network/HttpUtil$Header;Ljava/lang/String;Lio/rong/imlib/network/HttpUtil$OnResponse;)V]
6657 6674 + Methodref [io/rong/message/TextMessage.getContent ()Ljava/lang/String;]
6658 6675 + Methodref [io/rong/message/TextMessage.obtain (Ljava/lang/String;)Lio/rong/message/TextMessage;]
6659   - + Methodref [io/rong/message/TextMessage.setUserInfo (Lio/rong/imlib/model/UserInfo;)V]
6660 6676 + Methodref [java/lang/Object.<init> ()V]
6661 6677 + Methodref [java/lang/RuntimeException.<init> (Ljava/lang/String;)V]
  6678 + + Methodref [java/lang/String.equals (Ljava/lang/Object;)Z]
  6679 + + Methodref [java/lang/String.replaceAll (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;]
6662 6680 + Methodref [java/lang/StringBuilder.<init> ()V]
  6681 + + Methodref [java/lang/StringBuilder.append (J)Ljava/lang/StringBuilder;]
6663 6682 + Methodref [java/lang/StringBuilder.append (Ljava/lang/Object;)Ljava/lang/StringBuilder;]
6664 6683 + Methodref [java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;]
6665 6684 + Methodref [java/lang/StringBuilder.toString ()Ljava/lang/String;]
  6685 + + Methodref [java/lang/System.currentTimeMillis ()J]
  6686 + + Methodref [java/util/ArrayList.<init> ()V]
  6687 + + Methodref [java/util/UUID.randomUUID ()Ljava/util/UUID;]
  6688 + + Methodref [java/util/UUID.toString ()Ljava/lang/String;]
  6689 + + InterfaceMethodref [java/util/List.add (Ljava/lang/Object;)Z]
  6690 + + InterfaceMethodref [java/util/List.get (I)Ljava/lang/Object;]
  6691 + + InterfaceMethodref [java/util/List.remove (I)Ljava/lang/Object;]
  6692 + + InterfaceMethodref [java/util/List.size ()I]
6666 6693 + NameAndType [<init> ()V]
6667 6694 + NameAndType [<init> (Lio/rong/imlib/Chat;)V]
6668 6695 + NameAndType [<init> (Ljava/lang/String;)V]
6669 6696 + NameAndType [<init> (Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;)V]
  6697 + + NameAndType [<init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V]
6670 6698 + NameAndType [APP_KEY Ljava/lang/String;]
6671 6699 + NameAndType [APP_SECRET Ljava/lang/String;]
6672 6700 + NameAndType [CHATROOM Lio/rong/imlib/model/Conversation$ConversationType;]
6673 6701 + NameAndType [PRIVATE Lio/rong/imlib/model/Conversation$ConversationType;]
  6702 + + NameAndType [add (Ljava/lang/Object;)Z]
  6703 + + NameAndType [append (J)Ljava/lang/StringBuilder;]
6674 6704 + NameAndType [append (Ljava/lang/Object;)Ljava/lang/StringBuilder;]
6675 6705 + NameAndType [append (Ljava/lang/String;)Ljava/lang/StringBuilder;]
6676 6706 + NameAndType [chat Lio/rong/imlib/Chat;]
6677 6707 + NameAndType [chatRoomActionListener Lio/rong/imlib/RongIMClient$ChatRoomActionListener;]
6678 6708 + NameAndType [cnMessage (Lio/rong/imlib/model/Message;)Lio/rong/imlib/model/CNMessage;]
  6709 + + NameAndType [connect (Lio/rong/imlib/model/CNUserInfo;)V]
6679 6710 + NameAndType [connect (Ljava/lang/String;Lio/rong/imlib/RongIMClient$ConnectCallback;)Lio/rong/imlib/RongIMClient;]
6680 6711 + NameAndType [connectionStatusListener Lio/rong/imlib/RongIMClient$ConnectionStatusListener;]
6681 6712 + NameAndType [currentCNUser Lio/rong/imlib/model/CNUserInfo;]
6682 6713 + NameAndType [currentRoomId Ljava/lang/String;]
  6714 + + NameAndType [currentTimeMillis ()J]
6683 6715 + NameAndType [currentUser Lio/rong/imlib/model/UserInfo;]
  6716 + + NameAndType [defMessageCount I]
6684 6717 + NameAndType [disconnect ()V]
6685   - + NameAndType [e (Ljava/lang/String;Ljava/lang/String;)I]
  6718 + + NameAndType [disconnect (Z)V]
  6719 + + NameAndType [equals (Ljava/lang/Object;)Z]
  6720 + + NameAndType [get (I)Ljava/lang/Object;]
6686 6721 + NameAndType [getContent ()Lio/rong/imlib/model/MessageContent;]
6687 6722 + NameAndType [getContent ()Ljava/lang/String;]
6688 6723 + NameAndType [getHeadUrl ()Ljava/lang/String;]
... ... @@ -6696,6 +6731,7 @@ Constant Pool (count = 426):
6696 6731 + NameAndType [getUserInfo ()Lio/rong/imlib/model/UserInfo;]
6697 6732 + NameAndType [getUserName ()Ljava/lang/String;]
6698 6733 + NameAndType [init (Landroid/content/Context;Ljava/lang/String;)V]
  6734 + + NameAndType [joinChatRoom (Ljava/lang/String;I)V]
6699 6735 + NameAndType [joinChatRoom (Ljava/lang/String;ILio/rong/imlib/RongIMClient$OperationCallback;)V]
6700 6736 + NameAndType [logout ()V]
6701 6737 + NameAndType [mConnectStatusListener Lio/rong/imlib/base/IChat$OnConnectStatusListener;]
... ... @@ -6712,32 +6748,47 @@ Constant Pool (count = 426):
6712 6748 + NameAndType [parse (Ljava/lang/String;)Landroid/net/Uri;]
6713 6749 + NameAndType [post (Ljava/lang/String;Lio/rong/imlib/network/HttpUtil$Header;Ljava/lang/String;Lio/rong/imlib/network/HttpUtil$OnResponse;)V]
6714 6750 + NameAndType [quitChatRoom (Ljava/lang/String;Lio/rong/imlib/RongIMClient$OperationCallback;)V]
6715   - + NameAndType [sendChatRoomMessage (Lio/rong/imlib/model/MessageContent;)V]
  6751 + + NameAndType [randomUUID ()Ljava/util/UUID;]
  6752 + + NameAndType [remove (I)Ljava/lang/Object;]
  6753 + + NameAndType [replaceAll (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;]
  6754 + + NameAndType [roomIdList Ljava/util/List;]
  6755 + + NameAndType [sendChatRoomMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
6716 6756 + NameAndType [sendMessage (Lio/rong/imlib/model/Message;Ljava/lang/String;Ljava/lang/String;Lio/rong/imlib/RongIMClient$SendMessageCallback;Lio/rong/imlib/RongIMClient$ResultCallback;)V]
  6757 + + NameAndType [sendPrivateMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
6717 6758 + NameAndType [setChatRoomActionListener (Lio/rong/imlib/RongIMClient$ChatRoomActionListener;)V]
6718 6759 + NameAndType [setConnectStatusListener (Lio/rong/imlib/RongIMClient$ConnectionStatusListener;)V]
6719 6760 + NameAndType [setConnectionStatusListener (Lio/rong/imlib/RongIMClient$ConnectionStatusListener;)V]
6720 6761 + NameAndType [setContent (Ljava/lang/String;)V]
  6762 + + NameAndType [setCurrentUser (Lio/rong/imlib/model/UserInfo;)V]
6721 6763 + NameAndType [setHeadUrl (Ljava/lang/String;)V]
  6764 + + NameAndType [setName (Ljava/lang/String;)V]
6722 6765 + NameAndType [setOnReceiveMessageListener (Lio/rong/imlib/RongIMClient$OnReceiveMessageListener;)V]
  6766 + + NameAndType [setPortraitUri (Landroid/net/Uri;)V]
6723 6767 + NameAndType [setUserId (Ljava/lang/String;)V]
6724 6768 + NameAndType [setUserInfo (Lio/rong/imlib/model/CNUserInfo;)V]
6725 6769 + NameAndType [setUserInfo (Lio/rong/imlib/model/UserInfo;)V]
6726 6770 + NameAndType [setUserName (Ljava/lang/String;)V]
  6771 + + NameAndType [size ()I]
6727 6772 + NameAndType [toString ()Ljava/lang/String;]
6728 6773 + Utf8 []
6729   - + Utf8 [ : ]
6730 6774 + Utf8 [&name=]
6731 6775 + Utf8 [&portraitUri=]
  6776 + + Utf8 [()I]
  6777 + + Utf8 [()J]
6732 6778 + Utf8 [()Landroid/net/Uri;]
6733 6779 + Utf8 [()Lio/rong/imlib/Chat;]
6734 6780 + Utf8 [()Lio/rong/imlib/RongIMClient;]
  6781 + + Utf8 [()Lio/rong/imlib/model/CNUserInfo;]
6735 6782 + Utf8 [()Lio/rong/imlib/model/MessageContent;]
6736 6783 + Utf8 [()Lio/rong/imlib/model/UserInfo;]
6737 6784 + Utf8 [()Ljava/lang/String;]
  6785 + + Utf8 [()Ljava/util/UUID;]
6738 6786 + Utf8 [()V]
  6787 + + Utf8 [(I)Ljava/lang/Object;]
  6788 + + Utf8 [(J)Ljava/lang/StringBuilder;]
  6789 + + Utf8 [(Landroid/content/Context;)V]
6739 6790 + Utf8 [(Landroid/content/Context;Ljava/lang/String;)V]
6740   - + Utf8 [(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V]
  6791 + + Utf8 [(Landroid/net/Uri;)V]
6741 6792 + Utf8 [(Lio/rong/imlib/Chat;)Lio/rong/imlib/base/IChat$OnChatRoomActionListener;]
6742 6793 + Utf8 [(Lio/rong/imlib/Chat;)Lio/rong/imlib/base/IChat$OnConnectListener;]
6743 6794 + Utf8 [(Lio/rong/imlib/Chat;)Lio/rong/imlib/base/IChat$OnConnectStatusListener;]
... ... @@ -6764,9 +6815,9 @@ Constant Pool (count = 426):
6764 6815 + Utf8 [(Lio/rong/imlib/model/Conversation$ConversationType;Ljava/lang/String;ILio/rong/imlib/RongIMClient$ResultCallback;)V]
6765 6816 + Utf8 [(Lio/rong/imlib/model/Message;)Lio/rong/imlib/model/CNMessage;]
6766 6817 + Utf8 [(Lio/rong/imlib/model/Message;Ljava/lang/String;Ljava/lang/String;Lio/rong/imlib/RongIMClient$SendMessageCallback;Lio/rong/imlib/RongIMClient$ResultCallback;)V]
6767   - + Utf8 [(Lio/rong/imlib/model/MessageContent;)V]
6768 6818 + Utf8 [(Lio/rong/imlib/model/UserInfo;)V]
6769 6819 + Utf8 [(Ljava/lang/Object;)Ljava/lang/StringBuilder;]
  6820 + + Utf8 [(Ljava/lang/Object;)Z]
6770 6821 + Utf8 [(Ljava/lang/String;)Landroid/net/Uri;]
6771 6822 + Utf8 [(Ljava/lang/String;)Lio/rong/message/TextMessage;]
6772 6823 + Utf8 [(Ljava/lang/String;)Ljava/lang/StringBuilder;]
... ... @@ -6776,12 +6827,16 @@ Constant Pool (count = 426):
6776 6827 + Utf8 [(Ljava/lang/String;Lio/rong/imlib/RongIMClient$ConnectCallback;)Lio/rong/imlib/RongIMClient;]
6777 6828 + Utf8 [(Ljava/lang/String;Lio/rong/imlib/RongIMClient$OperationCallback;)V]
6778 6829 + Utf8 [(Ljava/lang/String;Lio/rong/imlib/model/Conversation$ConversationType;Lio/rong/imlib/model/MessageContent;)Lio/rong/imlib/model/Message;]
  6830 + + Utf8 [(Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
6779 6831 + Utf8 [(Ljava/lang/String;Lio/rong/imlib/network/HttpUtil$Header;Ljava/lang/String;Lio/rong/imlib/network/HttpUtil$OnResponse;)V]
6780   - + Utf8 [(Ljava/lang/String;Ljava/lang/String;)I]
6781 6832 + Utf8 [(Ljava/lang/String;Ljava/lang/String;)Lio/rong/imlib/network/HttpUtil$Header;]
  6833 + + Utf8 [(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;]
6782 6834 + Utf8 [(Ljava/lang/String;Ljava/lang/String;)V]
6783 6835 + Utf8 [(Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;)V]
  6836 + + Utf8 [(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V]
6784 6837 + Utf8 [(Z)V]
  6838 + + Utf8 [-]
  6839 + + Utf8 [<clinit>]
6785 6840 + Utf8 [<init>]
6786 6841 + Utf8 [APP_KEY]
6787 6842 + Utf8 [APP_SECRET]
... ... @@ -6792,8 +6847,8 @@ Constant Pool (count = 426):
6792 6847 + Utf8 [ConnectCallback]
6793 6848 + Utf8 [ConnectionStatusListener]
6794 6849 + Utf8 [ConversationType]
6795   - + Utf8 [DemoView]
6796 6850 + Utf8 [Header]
  6851 + + Utf8 [I]
6797 6852 + Utf8 [InnerClasses]
6798 6853 + Utf8 [LineNumberTable]
6799 6854 + Utf8 [Lio/rong/imlib/Chat;]
... ... @@ -6812,6 +6867,9 @@ Constant Pool (count = 426):
6812 6867 + Utf8 [Lio/rong/imlib/model/Conversation$ConversationType;]
6813 6868 + Utf8 [Lio/rong/imlib/model/UserInfo;]
6814 6869 + Utf8 [Ljava/lang/String;]
  6870 + + Utf8 [Ljava/util/List;]
  6871 + + Utf8 [Ljava/util/List<Ljava/lang/String;>;]
  6872 + + Utf8 [N16VJFIPE22p]
6815 6873 + Utf8 [OnChatRoomActionListener]
6816 6874 + Utf8 [OnConnectListener]
6817 6875 + Utf8 [OnConnectStatusListener]
... ... @@ -6826,6 +6884,7 @@ Constant Pool (count = 426):
6826 6884 + Utf8 [PRIVATE]
6827 6885 + Utf8 [ResultCallback]
6828 6886 + Utf8 [SendMessageCallback]
  6887 + + Utf8 [Signature]
6829 6888 + Utf8 [SourceFile]
6830 6889 + Utf8 [access$000]
6831 6890 + Utf8 [access$100]
... ... @@ -6836,21 +6895,28 @@ Constant Pool (count = 426):
6836 6895 + Utf8 [access$600]
6837 6896 + Utf8 [access$700]
6838 6897 + Utf8 [access$800]
  6898 + + Utf8 [add]
6839 6899 + Utf8 [android/net/Uri]
6840   - + Utf8 [android/util/Log]
6841 6900 + Utf8 [append]
6842 6901 + Utf8 [chat]
  6902 + + Utf8 [chatRoom]
6843 6903 + Utf8 [chatRoomActionListener]
6844 6904 + Utf8 [cnMessage]
6845 6905 + Utf8 [connect]
6846 6906 + Utf8 [connectionStatusListener]
6847 6907 + Utf8 [currentCNUser]
6848 6908 + Utf8 [currentRoomId]
  6909 + + Utf8 [currentTimeMillis]
6849 6910 + Utf8 [currentUser]
6850 6911 + Utf8 [currentUser should not be null.]
  6912 + + Utf8 [defMessageCount]
6851 6913 + Utf8 [disconnect]
6852   - + Utf8 [e]
  6914 + + Utf8 [e5t4ouvpe5qea]
  6915 + + Utf8 [equals]
  6916 + + Utf8 [exchangeUser]
  6917 + + Utf8 [get]
6853 6918 + Utf8 [getContent]
  6919 + + Utf8 [getCurrentCNUser]
6854 6920 + Utf8 [getCurrentUser]
6855 6921 + Utf8 [getHeadUrl]
6856 6922 + Utf8 [getInstance]
... ... @@ -6909,7 +6975,12 @@ Constant Pool (count = 426):
6909 6975 + Utf8 [io/rong/message/TextMessage]
6910 6976 + Utf8 [java/lang/Object]
6911 6977 + Utf8 [java/lang/RuntimeException]
  6978 + + Utf8 [java/lang/String]
6912 6979 + Utf8 [java/lang/StringBuilder]
  6980 + + Utf8 [java/lang/System]
  6981 + + Utf8 [java/util/ArrayList]
  6982 + + Utf8 [java/util/List]
  6983 + + Utf8 [java/util/UUID]
6913 6984 + Utf8 [joinChatRoom]
6914 6985 + Utf8 [joinExistChatRoom]
6915 6986 + Utf8 [logout]
... ... @@ -6921,11 +6992,17 @@ Constant Pool (count = 426):
6921 6992 + Utf8 [mOnOperationListener]
6922 6993 + Utf8 [mOnResultListener]
6923 6994 + Utf8 [mOnSendMessageListener]
  6995 + + Utf8 [modifyUser]
6924 6996 + Utf8 [obtain]
6925 6997 + Utf8 [onReceiveMessageListener]
6926 6998 + Utf8 [parse]
6927 6999 + Utf8 [post]
  7000 + + Utf8 [private]
6928 7001 + Utf8 [quitChatRoom]
  7002 + + Utf8 [randomUUID]
  7003 + + Utf8 [remove]
  7004 + + Utf8 [replaceAll]
  7005 + + Utf8 [roomIdList]
6929 7006 + Utf8 [sendChatRoomMessage]
6930 7007 + Utf8 [sendMessage]
6931 7008 + Utf8 [sendPrivateMessage]
... ... @@ -6935,6 +7012,7 @@ Constant Pool (count = 426):
6935 7012 + Utf8 [setContent]
6936 7013 + Utf8 [setCurrentUser]
6937 7014 + Utf8 [setHeadUrl]
  7015 + + Utf8 [setName]
6938 7016 + Utf8 [setOnChatRoomActionListener]
6939 7017 + Utf8 [setOnConnectionListener]
6940 7018 + Utf8 [setOnLatestMessageListener]
... ... @@ -6943,19 +7021,25 @@ Constant Pool (count = 426):
6943 7021 + Utf8 [setOnReceiveMessageListener]
6944 7022 + Utf8 [setOnResultListener]
6945 7023 + Utf8 [setOnSendMessageListener]
  7024 + + Utf8 [setPortraitUri]
6946 7025 + Utf8 [setUserId]
6947 7026 + Utf8 [setUserInfo]
6948 7027 + Utf8 [setUserName]
  7028 + + Utf8 [size]
6949 7029 + Utf8 [toString]
6950 7030 + Utf8 [userId=]
  7031 + + Utf8 [??]
6951 7032  
6952   -Fields (count = 17):
  7033 +Fields (count = 19):
6953 7034 + Field: currentUser Lio/rong/imlib/model/UserInfo;
6954 7035 Access flags: 0x9
6955 7036 = public static io.rong.imlib.model.UserInfo currentUser
6956 7037 + Field: currentCNUser Lio/rong/imlib/model/CNUserInfo;
6957 7038 Access flags: 0x9
6958 7039 = public static io.rong.imlib.model.CNUserInfo currentCNUser
  7040 + + Field: defMessageCount I
  7041 + Access flags: 0x9
  7042 + = public static int defMessageCount
6959 7043 + Field: currentRoomId Ljava/lang/String;
6960 7044 Access flags: 0xa
6961 7045 = private static java.lang.String currentRoomId
... ... @@ -6992,6 +7076,12 @@ Fields (count = 17):
6992 7076 + Field: chat Lio/rong/imlib/Chat;
6993 7077 Access flags: 0xa
6994 7078 = private static io.rong.imlib.Chat chat
  7079 + + Field: roomIdList Ljava/util/List;
  7080 + Access flags: 0x2
  7081 + = private java.util.List roomIdList
  7082 + Class member attributes (count = 1):
  7083 + + Signature attribute:
  7084 + + Utf8 [Ljava/util/List<Ljava/lang/String;>;]
6995 7085 + Field: connectionStatusListener Lio/rong/imlib/RongIMClient$ConnectionStatusListener;
6996 7086 Access flags: 0x2
6997 7087 = private io.rong.imlib.RongIMClient$ConnectionStatusListener connectionStatusListener
... ... @@ -7002,291 +7092,326 @@ Fields (count = 17):
7002 7092 Access flags: 0x2
7003 7093 = private io.rong.imlib.RongIMClient$OnReceiveMessageListener onReceiveMessageListener
7004 7094  
7005   -Methods (count = 37):
  7095 +Methods (count = 41):
7006 7096 + Method: getInstance()Lio/rong/imlib/Chat;
7007 7097 Access flags: 0xc
7008 7098 = protected static io.rong.imlib.Chat getInstance()
7009 7099 Class member attributes (count = 1):
7010 7100 + Code attribute instructions (code length = 20, locals = 0, stack = 2):
7011   - [0] getstatic #59
  7101 + [0] getstatic #67
7012 7102 + Fieldref [io/rong/imlib/Chat.chat Lio/rong/imlib/Chat;]
7013 7103 [3] ifnonnull +13 (target=16)
7014   - [6] new #11
  7104 + [6] new #14
7015 7105 + Class [io/rong/imlib/Chat]
7016 7106 [9] dup
7017   - [10] invokespecial #79
  7107 + [10] invokespecial #88
7018 7108 + Methodref [io/rong/imlib/Chat.<init> ()V]
7019   - [13] putstatic #59
  7109 + [13] putstatic #67
7020 7110 + Fieldref [io/rong/imlib/Chat.chat Lio/rong/imlib/Chat;]
7021   - [16] getstatic #59
  7111 + [16] getstatic #67
7022 7112 + Fieldref [io/rong/imlib/Chat.chat Lio/rong/imlib/Chat;]
7023 7113 [19] areturn
7024 7114 Code attribute exceptions (count = 0):
7025 7115 Code attribute attributes (attribute count = 1):
7026 7116 + Line number table attribute (count = 3)
7027   - [0] -> line 53
7028   - [6] -> line 54
7029   - [16] -> line 55
  7117 + [0] -> line 57
  7118 + [6] -> line 58
  7119 + [16] -> line 59
7030 7120 - Method: <init>()V
7031 7121 Access flags: 0x2
7032 7122 = private Chat()
7033 7123 Class member attributes (count = 1):
7034 7124 + Code attribute instructions (code length = 41, locals = 1, stack = 4):
7035 7125 [0] aload_0 v0
7036   - [1] invokespecial #135
  7126 + [1] invokespecial #151
7037 7127 + Methodref [java/lang/Object.<init> ()V]
7038 7128 [4] aload_0 v0
7039   - [5] new #13
  7129 + [5] new #16
7040 7130 + Class [io/rong/imlib/Chat$10]
7041 7131 [8] dup
7042 7132 [9] aload_0 v0
7043   - [10] invokespecial #87
  7133 + [10] invokespecial #101
7044 7134 + Methodref [io/rong/imlib/Chat$10.<init> (Lio/rong/imlib/Chat;)V]
7045   - [13] putfield #61
  7135 + [13] putfield #69
7046 7136 + Fieldref [io/rong/imlib/Chat.connectionStatusListener Lio/rong/imlib/RongIMClient$ConnectionStatusListener;]
7047 7137 [16] aload_0 v0
7048   - [17] new #14
  7138 + [17] new #17
7049 7139 + Class [io/rong/imlib/Chat$11]
7050 7140 [20] dup
7051 7141 [21] aload_0 v0
7052   - [22] invokespecial #88
  7142 + [22] invokespecial #102
7053 7143 + Methodref [io/rong/imlib/Chat$11.<init> (Lio/rong/imlib/Chat;)V]
7054   - [25] putfield #60
  7144 + [25] putfield #68
7055 7145 + Fieldref [io/rong/imlib/Chat.chatRoomActionListener Lio/rong/imlib/RongIMClient$ChatRoomActionListener;]
7056 7146 [28] aload_0 v0
7057   - [29] new #15
  7147 + [29] new #18
7058 7148 + Class [io/rong/imlib/Chat$12]
7059 7149 [32] dup
7060 7150 [33] aload_0 v0
7061   - [34] invokespecial #89
  7151 + [34] invokespecial #103
7062 7152 + Methodref [io/rong/imlib/Chat$12.<init> (Lio/rong/imlib/Chat;)V]
7063   - [37] putfield #73
  7153 + [37] putfield #82
7064 7154 + Fieldref [io/rong/imlib/Chat.onReceiveMessageListener Lio/rong/imlib/RongIMClient$OnReceiveMessageListener;]
7065 7155 [40] return
7066 7156 Code attribute exceptions (count = 0):
7067 7157 Code attribute attributes (attribute count = 1):
7068 7158 + Line number table attribute (count = 5)
7069   - [0] -> line 58
7070   - [4] -> line 264
7071   - [16] -> line 302
7072   - [28] -> line 324
7073   - [40] -> line 60
7074   - + Method: init(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
  7159 + [0] -> line 62
  7160 + [4] -> line 296
  7161 + [16] -> line 334
  7162 + [28] -> line 356
  7163 + [40] -> line 64
  7164 + + Method: init(Landroid/content/Context;)V
7075 7165 Access flags: 0x1
7076   - = public void init(android.content.Context,java.lang.String,java.lang.String)
  7166 + = public void init(android.content.Context)
7077 7167 Class member attributes (count = 1):
7078   - + Code attribute instructions (code length = 14, locals = 4, stack = 2):
  7168 + + Code attribute instructions (code length = 19, locals = 2, stack = 3):
7079 7169 [0] aload_1 v1
7080   - [1] aload_2 v2
7081   - [2] invokestatic #103
7082   - + Methodref [io/rong/imlib/RongIMClient.init (Landroid/content/Context;Ljava/lang/String;)V]
7083   - [5] aload_2 v2
7084   - [6] putstatic #57
  7170 + [1] getstatic #65
7085 7171 + Fieldref [io/rong/imlib/Chat.APP_KEY Ljava/lang/String;]
7086   - [9] aload_3 v3
7087   - [10] putstatic #58
7088   - + Fieldref [io/rong/imlib/Chat.APP_SECRET Ljava/lang/String;]
7089   - [13] return
  7172 + [4] invokestatic #117
  7173 + + Methodref [io/rong/imlib/RongIMClient.init (Landroid/content/Context;Ljava/lang/String;)V]
  7174 + [7] aload_0 v0
  7175 + [8] new #62
  7176 + + Class [java/util/ArrayList]
  7177 + [11] dup
  7178 + [12] invokespecial #161
  7179 + + Methodref [java/util/ArrayList.<init> ()V]
  7180 + [15] putfield #83
  7181 + + Fieldref [io/rong/imlib/Chat.roomIdList Ljava/util/List;]
  7182 + [18] return
7090 7183 Code attribute exceptions (count = 0):
7091 7184 Code attribute attributes (attribute count = 1):
7092   - + Line number table attribute (count = 4)
7093   - [0] -> line 65
7094   - [5] -> line 66
7095   - [9] -> line 67
7096   - [13] -> line 68
  7185 + + Line number table attribute (count = 3)
  7186 + [0] -> line 69
  7187 + [7] -> line 70
  7188 + [18] -> line 71
7097 7189 + Method: connect(Lio/rong/imlib/model/CNUserInfo;)V
7098 7190 Access flags: 0x1
7099 7191 = public void connect(io.rong.imlib.model.CNUserInfo)
7100 7192 Class member attributes (count = 1):
7101   - + Code attribute instructions (code length = 116, locals = 5, stack = 5):
  7193 + + Code attribute instructions (code length = 158, locals = 5, stack = 5):
7102 7194 [0] aload_1 v1
7103   - [1] invokevirtual #116
  7195 + [1] ifnonnull +75 (target=76)
  7196 + [4] invokestatic #162
  7197 + + Methodref [java/util/UUID.randomUUID ()Ljava/util/UUID;]
  7198 + [7] invokevirtual #163
  7199 + + Methodref [java/util/UUID.toString ()Ljava/lang/String;]
  7200 + [10] ldc #4
  7201 + + String [-]
  7202 + [12] ldc #1
  7203 + + String []
  7204 + [14] invokevirtual #154
  7205 + + Methodref [java/lang/String.replaceAll (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;]
  7206 + [17] astore_2 v2
  7207 + [18] new #60
  7208 + + Class [java/lang/StringBuilder]
  7209 + [21] dup
  7210 + [22] invokespecial #155
  7211 + + Methodref [java/lang/StringBuilder.<init> ()V]
  7212 + [25] ldc #12
  7213 + + String [??]
  7214 + [27] invokevirtual #158
  7215 + + Methodref [java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;]
  7216 + [30] invokestatic #160
  7217 + + Methodref [java/lang/System.currentTimeMillis ()J]
  7218 + [33] invokevirtual #156
  7219 + + Methodref [java/lang/StringBuilder.append (J)Ljava/lang/StringBuilder;]
  7220 + [36] invokevirtual #159
  7221 + + Methodref [java/lang/StringBuilder.toString ()Ljava/lang/String;]
  7222 + [39] astore_3 v3
  7223 + [40] ldc #1
  7224 + + String []
  7225 + [42] astore v4
  7226 + [44] new #47
  7227 + + Class [io/rong/imlib/model/CNUserInfo]
  7228 + [47] dup
  7229 + [48] aload_2 v2
  7230 + [49] aload_3 v3
  7231 + [50] aload v4
  7232 + [52] invokespecial #129
  7233 + + Methodref [io/rong/imlib/model/CNUserInfo.<init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V]
  7234 + [55] astore_1 v1
  7235 + [56] new #52
  7236 + + Class [io/rong/imlib/model/UserInfo]
  7237 + [59] dup
  7238 + [60] aload_2 v2
  7239 + [61] aload_3 v3
  7240 + [62] aload v4
  7241 + [64] invokestatic #86
  7242 + + Methodref [android/net/Uri.parse (Ljava/lang/String;)Landroid/net/Uri;]
  7243 + [67] invokespecial #140
  7244 + + Methodref [io/rong/imlib/model/UserInfo.<init> (Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;)V]
  7245 + [70] putstatic #72
  7246 + + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
  7247 + [73] goto +72 (target=145)
  7248 + [76] aload_1 v1
  7249 + [77] invokevirtual #131
7104 7250 + Methodref [io/rong/imlib/model/CNUserInfo.getUserId ()Ljava/lang/String;]
7105   - [4] ifnonnull +8 (target=12)
7106   - [7] ldc #1
  7251 + [80] ifnonnull +8 (target=88)
  7252 + [83] ldc #1
7107 7253 + String []
7108   - [9] goto +7 (target=16)
7109   - [12] aload_1 v1
7110   - [13] invokevirtual #116
  7254 + [85] goto +7 (target=92)
  7255 + [88] aload_1 v1
  7256 + [89] invokevirtual #131
7111 7257 + Methodref [io/rong/imlib/model/CNUserInfo.getUserId ()Ljava/lang/String;]
7112   - [16] astore_2 v2
7113   - [17] aload_1 v1
7114   - [18] invokevirtual #117
  7258 + [92] astore_2 v2
  7259 + [93] aload_1 v1
  7260 + [94] invokevirtual #132
7115 7261 + Methodref [io/rong/imlib/model/CNUserInfo.getUserName ()Ljava/lang/String;]
7116   - [21] ifnonnull +8 (target=29)
7117   - [24] ldc #1
  7262 + [97] ifnonnull +8 (target=105)
  7263 + [100] ldc #1
7118 7264 + String []
7119   - [26] goto +7 (target=33)
7120   - [29] aload_1 v1
7121   - [30] invokevirtual #117
  7265 + [102] goto +7 (target=109)
  7266 + [105] aload_1 v1
  7267 + [106] invokevirtual #132
7122 7268 + Methodref [io/rong/imlib/model/CNUserInfo.getUserName ()Ljava/lang/String;]
7123   - [33] astore_3 v3
7124   - [34] aload_1 v1
7125   - [35] invokevirtual #115
  7269 + [109] astore_3 v3
  7270 + [110] aload_1 v1
  7271 + [111] invokevirtual #130
7126 7272 + Methodref [io/rong/imlib/model/CNUserInfo.getHeadUrl ()Ljava/lang/String;]
7127   - [38] ifnonnull +8 (target=46)
7128   - [41] ldc #1
  7273 + [114] ifnonnull +8 (target=122)
  7274 + [117] ldc #1
7129 7275 + String []
7130   - [43] goto +7 (target=50)
7131   - [46] aload_1 v1
7132   - [47] invokevirtual #115
  7276 + [119] goto +7 (target=126)
  7277 + [122] aload_1 v1
  7278 + [123] invokevirtual #130
7133 7279 + Methodref [io/rong/imlib/model/CNUserInfo.getHeadUrl ()Ljava/lang/String;]
7134   - [50] astore v4
7135   - [52] ldc #5
7136   - + String [DemoView]
7137   - [54] new #56
7138   - + Class [java/lang/StringBuilder]
7139   - [57] dup
7140   - [58] invokespecial #137
7141   - + Methodref [java/lang/StringBuilder.<init> ()V]
7142   - [61] aload_2 v2
7143   - [62] invokevirtual #139
7144   - + Methodref [java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;]
7145   - [65] ldc #2
7146   - + String [ : ]
7147   - [67] invokevirtual #139
7148   - + Methodref [java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;]
7149   - [70] aload_3 v3
7150   - [71] invokevirtual #139
7151   - + Methodref [java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;]
7152   - [74] ldc #2
7153   - + String [ : ]
7154   - [76] invokevirtual #139
7155   - + Methodref [java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;]
7156   - [79] invokevirtual #140
7157   - + Methodref [java/lang/StringBuilder.toString ()Ljava/lang/String;]
7158   - [82] invokestatic #78
7159   - + Methodref [android/util/Log.e (Ljava/lang/String;Ljava/lang/String;)I]
7160   - [85] pop
7161   - [86] new #49
  7280 + [126] astore v4
  7281 + [128] new #52
7162 7282 + Class [io/rong/imlib/model/UserInfo]
7163   - [89] dup
7164   - [90] aload_2 v2
7165   - [91] aload_3 v3
7166   - [92] aload v4
7167   - [94] invokestatic #76
  7283 + [131] dup
  7284 + [132] aload_2 v2
  7285 + [133] aload_3 v3
  7286 + [134] aload v4
  7287 + [136] invokestatic #86
7168 7288 + Methodref [android/net/Uri.parse (Ljava/lang/String;)Landroid/net/Uri;]
7169   - [97] invokespecial #125
  7289 + [139] invokespecial #140
7170 7290 + Methodref [io/rong/imlib/model/UserInfo.<init> (Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;)V]
7171   - [100] putstatic #64
  7291 + [142] putstatic #72
7172 7292 + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
7173   - [103] aload_1 v1
7174   - [104] new #12
  7293 + [145] aload_1 v1
  7294 + [146] new #15
7175 7295 + Class [io/rong/imlib/Chat$1]
7176   - [107] dup
7177   - [108] aload_0 v0
7178   - [109] invokespecial #86
  7296 + [149] dup
  7297 + [150] aload_0 v0
  7298 + [151] invokespecial #100
7179 7299 + Methodref [io/rong/imlib/Chat$1.<init> (Lio/rong/imlib/Chat;)V]
7180   - [112] invokestatic #81
  7300 + [154] invokestatic #92
7181 7301 + Methodref [io/rong/imlib/Chat.getToken (Lio/rong/imlib/model/CNUserInfo;Lio/rong/imlib/network/HttpUtil$OnResponse;)V]
7182   - [115] return
  7302 + [157] return
7183 7303 Code attribute exceptions (count = 0):
7184 7304 Code attribute attributes (attribute count = 1):
7185   - + Line number table attribute (count = 7)
7186   - [0] -> line 71
7187   - [17] -> line 72
7188   - [34] -> line 73
7189   - [52] -> line 74
7190   - [86] -> line 75
7191   - [103] -> line 76
7192   - [115] -> line 91
  7305 + + Line number table attribute (count = 12)
  7306 + [0] -> line 77
  7307 + [4] -> line 79
  7308 + [18] -> line 80
  7309 + [40] -> line 81
  7310 + [44] -> line 82
  7311 + [56] -> line 83
  7312 + [76] -> line 85
  7313 + [93] -> line 86
  7314 + [110] -> line 87
  7315 + [128] -> line 88
  7316 + [145] -> line 90
  7317 + [157] -> line 105
7193 7318 + Method: getToken(Lio/rong/imlib/model/CNUserInfo;Lio/rong/imlib/network/HttpUtil$OnResponse;)V
7194 7319 Access flags: 0x9
7195 7320 = public static void getToken(io.rong.imlib.model.CNUserInfo,io.rong.imlib.network.HttpUtil$OnResponse)
7196 7321 Class member attributes (count = 1):
7197 7322 + Code attribute instructions (code length = 85, locals = 6, stack = 5):
7198   - [0] ldc #7
  7323 + [0] ldc #9
7199 7324 + String [https://api.cn.ronghub.com/user/getToken.json]
7200 7325 [2] astore_2 v2
7201   - [3] getstatic #57
  7326 + [3] getstatic #65
7202 7327 + Fieldref [io/rong/imlib/Chat.APP_KEY Ljava/lang/String;]
7203   - [6] getstatic #58
  7328 + [6] getstatic #66
7204 7329 + Fieldref [io/rong/imlib/Chat.APP_SECRET Ljava/lang/String;]
7205   - [9] invokestatic #130
  7330 + [9] invokestatic #147
7206 7331 + Methodref [io/rong/imlib/network/HttpUtil.getRcHeader (Ljava/lang/String;Ljava/lang/String;)Lio/rong/imlib/network/HttpUtil$Header;]
7207 7332 [12] astore_3 v3
7208   - [13] new #56
  7333 + [13] new #60
7209 7334 + Class [java/lang/StringBuilder]
7210 7335 [16] dup
7211   - [17] invokespecial #137
  7336 + [17] invokespecial #155
7212 7337 + Methodref [java/lang/StringBuilder.<init> ()V]
7213   - [20] ldc #8
  7338 + [20] ldc #11
7214 7339 + String [userId=]
7215   - [22] invokevirtual #139
  7340 + [22] invokevirtual #158
7216 7341 + Methodref [java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;]
7217 7342 [25] aload_0 v0
7218   - [26] invokevirtual #116
  7343 + [26] invokevirtual #131
7219 7344 + Methodref [io/rong/imlib/model/CNUserInfo.getUserId ()Ljava/lang/String;]
7220   - [29] invokevirtual #139
  7345 + [29] invokevirtual #158
7221 7346 + Methodref [java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;]
7222   - [32] ldc #3
  7347 + [32] ldc #2
7223 7348 + String [&name=]
7224   - [34] invokevirtual #139
  7349 + [34] invokevirtual #158
7225 7350 + Methodref [java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;]
7226 7351 [37] aload_0 v0
7227   - [38] invokevirtual #117
  7352 + [38] invokevirtual #132
7228 7353 + Methodref [io/rong/imlib/model/CNUserInfo.getUserName ()Ljava/lang/String;]
7229   - [41] invokevirtual #139
  7354 + [41] invokevirtual #158
7230 7355 + Methodref [java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;]
7231   - [44] ldc #4
  7356 + [44] ldc #3
7232 7357 + String [&portraitUri=]
7233   - [46] invokevirtual #139
  7358 + [46] invokevirtual #158
7234 7359 + Methodref [java/lang/StringBuilder.append (Ljava/lang/String;)Ljava/lang/StringBuilder;]
7235 7360 [49] aload_0 v0
7236   - [50] invokevirtual #115
  7361 + [50] invokevirtual #130
7237 7362 + Methodref [io/rong/imlib/model/CNUserInfo.getHeadUrl ()Ljava/lang/String;]
7238   - [53] invokestatic #76
  7363 + [53] invokestatic #86
7239 7364 + Methodref [android/net/Uri.parse (Ljava/lang/String;)Landroid/net/Uri;]
7240   - [56] invokevirtual #138
  7365 + [56] invokevirtual #157
7241 7366 + Methodref [java/lang/StringBuilder.append (Ljava/lang/Object;)Ljava/lang/StringBuilder;]
7242   - [59] invokevirtual #140
  7367 + [59] invokevirtual #159
7243 7368 + Methodref [java/lang/StringBuilder.toString ()Ljava/lang/String;]
7244 7369 [62] astore v4
7245   - [64] new #50
  7370 + [64] new #53
7246 7371 + Class [io/rong/imlib/network/HttpUtil]
7247 7372 [67] dup
7248   - [68] invokespecial #129
  7373 + [68] invokespecial #146
7249 7374 + Methodref [io/rong/imlib/network/HttpUtil.<init> ()V]
7250 7375 [71] astore v5
7251 7376 [73] aload v5
7252   - [75] ldc #7
  7377 + [75] ldc #9
7253 7378 + String [https://api.cn.ronghub.com/user/getToken.json]
7254 7379 [77] aload_3 v3
7255 7380 [78] aload v4
7256 7381 [80] aload_1 v1
7257   - [81] invokevirtual #131
  7382 + [81] invokevirtual #148
7258 7383 + Methodref [io/rong/imlib/network/HttpUtil.post (Ljava/lang/String;Lio/rong/imlib/network/HttpUtil$Header;Ljava/lang/String;Lio/rong/imlib/network/HttpUtil$OnResponse;)V]
7259 7384 [84] return
7260 7385 Code attribute exceptions (count = 0):
7261 7386 Code attribute attributes (attribute count = 1):
7262 7387 + Line number table attribute (count = 6)
7263   - [0] -> line 95
7264   - [3] -> line 96
7265   - [13] -> line 97
7266   - [64] -> line 98
7267   - [73] -> line 99
7268   - [84] -> line 100
  7388 + [0] -> line 109
  7389 + [3] -> line 110
  7390 + [13] -> line 111
  7391 + [64] -> line 112
  7392 + [73] -> line 113
  7393 + [84] -> line 114
7269 7394 + Method: connect(Ljava/lang/String;)V
7270 7395 Access flags: 0x1
7271 7396 = public void connect(java.lang.String)
7272 7397 Class member attributes (count = 1):
7273 7398 + Code attribute instructions (code length = 14, locals = 2, stack = 4):
7274 7399 [0] aload_1 v1
7275   - [1] new #18
  7400 + [1] new #21
7276 7401 + Class [io/rong/imlib/Chat$2]
7277 7402 [4] dup
7278 7403 [5] aload_0 v0
7279   - [6] invokespecial #91
  7404 + [6] invokespecial #105
7280 7405 + Methodref [io/rong/imlib/Chat$2.<init> (Lio/rong/imlib/Chat;)V]
7281   - [9] invokestatic #99
  7406 + [9] invokestatic #113
7282 7407 + Methodref [io/rong/imlib/RongIMClient.connect (Ljava/lang/String;Lio/rong/imlib/RongIMClient$ConnectCallback;)Lio/rong/imlib/RongIMClient;]
7283 7408 [12] pop
7284 7409 [13] return
7285 7410 Code attribute exceptions (count = 0):
7286 7411 Code attribute attributes (attribute count = 1):
7287 7412 + Line number table attribute (count = 2)
7288   - [0] -> line 104
7289   - [13] -> line 124
  7413 + [0] -> line 118
  7414 + [13] -> line 138
7290 7415 + Method: disconnect(Z)V
7291 7416 Access flags: 0x1
7292 7417 = public void disconnect(boolean)
... ... @@ -7294,448 +7419,543 @@ Methods (count = 37):
7294 7419 + Code attribute instructions (code length = 20, locals = 2, stack = 1):
7295 7420 [0] iload_1 v1
7296 7421 [1] ifeq +12 (target=13)
7297   - [4] invokestatic #101
  7422 + [4] invokestatic #115
7298 7423 + Methodref [io/rong/imlib/RongIMClient.getInstance ()Lio/rong/imlib/RongIMClient;]
7299   - [7] invokevirtual #100
  7424 + [7] invokevirtual #114
7300 7425 + Methodref [io/rong/imlib/RongIMClient.disconnect ()V]
7301 7426 [10] goto +9 (target=19)
7302   - [13] invokestatic #101
  7427 + [13] invokestatic #115
7303 7428 + Methodref [io/rong/imlib/RongIMClient.getInstance ()Lio/rong/imlib/RongIMClient;]
7304   - [16] invokevirtual #105
  7429 + [16] invokevirtual #119
7305 7430 + Methodref [io/rong/imlib/RongIMClient.logout ()V]
7306 7431 [19] return
7307 7432 Code attribute exceptions (count = 0):
7308 7433 Code attribute attributes (attribute count = 1):
7309 7434 + Line number table attribute (count = 3)
7310   - [0] -> line 128
7311   - [13] -> line 129
7312   - [19] -> line 130
  7435 + [0] -> line 142
  7436 + [13] -> line 143
  7437 + [19] -> line 144
7313 7438 + Method: joinChatRoom(Ljava/lang/String;I)V
7314 7439 Access flags: 0x1
7315 7440 = public void joinChatRoom(java.lang.String,int)
7316 7441 Class member attributes (count = 1):
7317   - + Code attribute instructions (code length = 23, locals = 3, stack = 6):
7318   - [0] aload_1 v1
7319   - [1] putstatic #63
  7442 + + Code attribute instructions (code length = 29, locals = 3, stack = 6):
  7443 + [0] iload_2 v2
  7444 + [1] putstatic #73
  7445 + + Fieldref [io/rong/imlib/Chat.defMessageCount I]
  7446 + [4] aload_1 v1
  7447 + [5] putstatic #71
7320 7448 + Fieldref [io/rong/imlib/Chat.currentRoomId Ljava/lang/String;]
7321   - [4] invokestatic #101
  7449 + [8] invokestatic #115
7322 7450 + Methodref [io/rong/imlib/RongIMClient.getInstance ()Lio/rong/imlib/RongIMClient;]
7323   - [7] getstatic #63
  7451 + [11] getstatic #71
7324 7452 + Fieldref [io/rong/imlib/Chat.currentRoomId Ljava/lang/String;]
7325   - [10] iload_2 v2
7326   - [11] new #19
  7453 + [14] getstatic #73
  7454 + + Fieldref [io/rong/imlib/Chat.defMessageCount I]
  7455 + [17] new #22
7327 7456 + Class [io/rong/imlib/Chat$3]
7328   - [14] dup
7329   - [15] aload_0 v0
7330   - [16] invokespecial #92
  7457 + [20] dup
  7458 + [21] aload_0 v0
  7459 + [22] invokespecial #106
7331 7460 + Methodref [io/rong/imlib/Chat$3.<init> (Lio/rong/imlib/Chat;)V]
7332   - [19] invokevirtual #104
  7461 + [25] invokevirtual #118
7333 7462 + Methodref [io/rong/imlib/RongIMClient.joinChatRoom (Ljava/lang/String;ILio/rong/imlib/RongIMClient$OperationCallback;)V]
7334   - [22] return
  7463 + [28] return
7335 7464 Code attribute exceptions (count = 0):
7336 7465 Code attribute attributes (attribute count = 1):
7337   - + Line number table attribute (count = 3)
7338   - [0] -> line 134
7339   - [4] -> line 135
7340   - [22] -> line 148
  7466 + + Line number table attribute (count = 4)
  7467 + [0] -> line 148
  7468 + [4] -> line 149
  7469 + [8] -> line 150
  7470 + [28] -> line 163
7341 7471 + Method: joinExistChatRoom(Ljava/lang/String;I)V
7342 7472 Access flags: 0x1
7343 7473 = public void joinExistChatRoom(java.lang.String,int)
7344 7474 Class member attributes (count = 1):
7345   - + Code attribute instructions (code length = 23, locals = 3, stack = 6):
7346   - [0] aload_1 v1
7347   - [1] putstatic #63
  7475 + + Code attribute instructions (code length = 42, locals = 3, stack = 6):
  7476 + [0] iload_2 v2
  7477 + [1] putstatic #73
  7478 + + Fieldref [io/rong/imlib/Chat.defMessageCount I]
  7479 + [4] aload_1 v1
  7480 + [5] putstatic #71
7348 7481 + Fieldref [io/rong/imlib/Chat.currentRoomId Ljava/lang/String;]
7349   - [4] invokestatic #101
  7482 + [8] aload_0 v0
  7483 + [9] getfield #83
  7484 + + Fieldref [io/rong/imlib/Chat.roomIdList Ljava/util/List;]
  7485 + [12] getstatic #71
  7486 + + Fieldref [io/rong/imlib/Chat.currentRoomId Ljava/lang/String;]
  7487 + [15] invokeinterface #164, 512
  7488 + + InterfaceMethodref [java/util/List.add (Ljava/lang/Object;)Z]
  7489 + [20] pop
  7490 + [21] invokestatic #115
7350 7491 + Methodref [io/rong/imlib/RongIMClient.getInstance ()Lio/rong/imlib/RongIMClient;]
7351   - [7] getstatic #63
  7492 + [24] getstatic #71
7352 7493 + Fieldref [io/rong/imlib/Chat.currentRoomId Ljava/lang/String;]
7353   - [10] iload_2 v2
7354   - [11] new #20
  7494 + [27] getstatic #73
  7495 + + Fieldref [io/rong/imlib/Chat.defMessageCount I]
  7496 + [30] new #23
7355 7497 + Class [io/rong/imlib/Chat$4]
7356   - [14] dup
7357   - [15] aload_0 v0
7358   - [16] invokespecial #93
  7498 + [33] dup
  7499 + [34] aload_0 v0
  7500 + [35] invokespecial #107
7359 7501 + Methodref [io/rong/imlib/Chat$4.<init> (Lio/rong/imlib/Chat;)V]
7360   - [19] invokevirtual #104
  7502 + [38] invokevirtual #118
7361 7503 + Methodref [io/rong/imlib/RongIMClient.joinChatRoom (Ljava/lang/String;ILio/rong/imlib/RongIMClient$OperationCallback;)V]
7362   - [22] return
  7504 + [41] return
7363 7505 Code attribute exceptions (count = 0):
7364 7506 Code attribute attributes (attribute count = 1):
7365   - + Line number table attribute (count = 3)
7366   - [0] -> line 152
7367   - [4] -> line 153
7368   - [22] -> line 164
7369   - + Method: quitChatRoom()V
  7507 + + Line number table attribute (count = 5)
  7508 + [0] -> line 167
  7509 + [4] -> line 168
  7510 + [8] -> line 169
  7511 + [21] -> line 170
  7512 + [41] -> line 181
  7513 + + Method: quitChatRoom(Ljava/lang/String;)V
7370 7514 Access flags: 0x1
7371   - = public void quitChatRoom()
  7515 + = public void quitChatRoom(java.lang.String)
7372 7516 Class member attributes (count = 1):
7373   - + Code attribute instructions (code length = 18, locals = 1, stack = 5):
7374   - [0] invokestatic #101
  7517 + + Code attribute instructions (code length = 68, locals = 3, stack = 5):
  7518 + [0] iconst_0
  7519 + [1] istore_2 v2
  7520 + [2] iload_2 v2
  7521 + [3] aload_0 v0
  7522 + [4] getfield #83
  7523 + + Fieldref [io/rong/imlib/Chat.roomIdList Ljava/util/List;]
  7524 + [7] invokeinterface #167, 256
  7525 + + InterfaceMethodref [java/util/List.size ()I]
  7526 + [12] ificmpge +40 (target=52)
  7527 + [15] aload_0 v0
  7528 + [16] getfield #83
  7529 + + Fieldref [io/rong/imlib/Chat.roomIdList Ljava/util/List;]
  7530 + [19] iload_2 v2
  7531 + [20] invokeinterface #165, 512
  7532 + + InterfaceMethodref [java/util/List.get (I)Ljava/lang/Object;]
  7533 + [25] checkcast #59
  7534 + + Class [java/lang/String]
  7535 + [28] aload_1 v1
  7536 + [29] invokevirtual #153
  7537 + + Methodref [java/lang/String.equals (Ljava/lang/Object;)Z]
  7538 + [32] ifeq +14 (target=46)
  7539 + [35] aload_0 v0
  7540 + [36] getfield #83
  7541 + + Fieldref [io/rong/imlib/Chat.roomIdList Ljava/util/List;]
  7542 + [39] iload_2 v2
  7543 + [40] invokeinterface #166, 512
  7544 + + InterfaceMethodref [java/util/List.remove (I)Ljava/lang/Object;]
  7545 + [45] pop
  7546 + [46] iinc v2, 1
  7547 + [49] goto -47 (target=2)
  7548 + [52] invokestatic #115
7375 7549 + Methodref [io/rong/imlib/RongIMClient.getInstance ()Lio/rong/imlib/RongIMClient;]
7376   - [3] getstatic #63
7377   - + Fieldref [io/rong/imlib/Chat.currentRoomId Ljava/lang/String;]
7378   - [6] new #21
  7550 + [55] aload_1 v1
  7551 + [56] new #24
7379 7552 + Class [io/rong/imlib/Chat$5]
7380   - [9] dup
7381   - [10] aload_0 v0
7382   - [11] invokespecial #94
  7553 + [59] dup
  7554 + [60] aload_0 v0
  7555 + [61] invokespecial #108
7383 7556 + Methodref [io/rong/imlib/Chat$5.<init> (Lio/rong/imlib/Chat;)V]
7384   - [14] invokevirtual #106
  7557 + [64] invokevirtual #120
7385 7558 + Methodref [io/rong/imlib/RongIMClient.quitChatRoom (Ljava/lang/String;Lio/rong/imlib/RongIMClient$OperationCallback;)V]
7386   - [17] return
  7559 + [67] return
7387 7560 Code attribute exceptions (count = 0):
7388 7561 Code attribute attributes (attribute count = 1):
7389   - + Line number table attribute (count = 2)
7390   - [0] -> line 168
7391   - [17] -> line 181
7392   - + Method: sendChatRoomMessage(Ljava/lang/String;)V
  7562 + + Line number table attribute (count = 6)
  7563 + [0] -> line 185
  7564 + [15] -> line 186
  7565 + [35] -> line 187
  7566 + [46] -> line 185
  7567 + [52] -> line 190
  7568 + [67] -> line 203
  7569 + + Method: sendMessage(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
7393 7570 Access flags: 0x1
7394   - = public void sendChatRoomMessage(java.lang.String)
  7571 + = public void sendMessage(java.lang.String,java.lang.String,java.lang.String)
7395 7572 Class member attributes (count = 1):
7396   - + Code attribute instructions (code length = 11, locals = 3, stack = 2):
7397   - [0] aload_1 v1
7398   - [1] invokestatic #133
  7573 + + Code attribute instructions (code length = 42, locals = 5, stack = 3):
  7574 + [0] aload_3 v3
  7575 + [1] invokestatic #150
7399 7576 + Methodref [io/rong/message/TextMessage.obtain (Ljava/lang/String;)Lio/rong/message/TextMessage;]
7400   - [4] astore_2 v2
  7577 + [4] astore v4
  7578 + [6] aload_1 v1
  7579 + [7] ldc #10
  7580 + + String [private]
  7581 + [9] invokevirtual #153
  7582 + + Methodref [java/lang/String.equals (Ljava/lang/Object;)Z]
  7583 + [12] ifeq +13 (target=25)
  7584 + [15] aload_0 v0
  7585 + [16] aload_2 v2
  7586 + [17] aload v4
  7587 + [19] invokespecial #95
  7588 + + Methodref [io/rong/imlib/Chat.sendPrivateMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
  7589 + [22] goto +19 (target=41)
  7590 + [25] aload_1 v1
  7591 + [26] ldc #6
  7592 + + String [chatRoom]
  7593 + [28] invokevirtual #153
  7594 + + Methodref [java/lang/String.equals (Ljava/lang/Object;)Z]
  7595 + [31] ifeq +10 (target=41)
  7596 + [34] aload_0 v0
  7597 + [35] aload_2 v2
  7598 + [36] aload v4
  7599 + [38] invokespecial #94
  7600 + + Methodref [io/rong/imlib/Chat.sendChatRoomMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
  7601 + [41] return
  7602 + Code attribute exceptions (count = 0):
  7603 + Code attribute attributes (attribute count = 1):
  7604 + + Line number table attribute (count = 6)
  7605 + [0] -> line 207
  7606 + [6] -> line 208
  7607 + [15] -> line 209
  7608 + [25] -> line 210
  7609 + [34] -> line 211
  7610 + [41] -> line 213
  7611 + + Method: exchangeUser(Lio/rong/imlib/model/CNUserInfo;)V
  7612 + Access flags: 0x1
  7613 + = public void exchangeUser(io.rong.imlib.model.CNUserInfo)
  7614 + Class member attributes (count = 1):
  7615 + + Code attribute instructions (code length = 19, locals = 2, stack = 3):
  7616 + [0] aload_0 v0
  7617 + [1] iconst_0
  7618 + [2] invokevirtual #91
  7619 + + Methodref [io/rong/imlib/Chat.disconnect (Z)V]
7401 7620 [5] aload_0 v0
7402   - [6] aload_2 v2
7403   - [7] invokespecial #82
7404   - + Methodref [io/rong/imlib/Chat.sendChatRoomMessage (Lio/rong/imlib/model/MessageContent;)V]
7405   - [10] return
  7621 + [6] aload_1 v1
  7622 + [7] invokevirtual #90
  7623 + + Methodref [io/rong/imlib/Chat.connect (Lio/rong/imlib/model/CNUserInfo;)V]
  7624 + [10] aload_0 v0
  7625 + [11] getstatic #71
  7626 + + Fieldref [io/rong/imlib/Chat.currentRoomId Ljava/lang/String;]
  7627 + [14] iconst_m1
  7628 + [15] invokevirtual #93
  7629 + + Methodref [io/rong/imlib/Chat.joinChatRoom (Ljava/lang/String;I)V]
  7630 + [18] return
7406 7631 Code attribute exceptions (count = 0):
7407 7632 Code attribute attributes (attribute count = 1):
7408   - + Line number table attribute (count = 3)
7409   - [0] -> line 185
7410   - [5] -> line 186
7411   - [10] -> line 187
7412   - + Method: sendChatRoomMessage(Lio/rong/imlib/model/MessageContent;)V
  7633 + + Line number table attribute (count = 4)
  7634 + [0] -> line 217
  7635 + [5] -> line 218
  7636 + [10] -> line 219
  7637 + [18] -> line 220
  7638 + + Method: sendChatRoomMessage(Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V
7413 7639 Access flags: 0x2
7414   - = private void sendChatRoomMessage(io.rong.imlib.model.MessageContent)
  7640 + = private void sendChatRoomMessage(java.lang.String,io.rong.imlib.model.MessageContent)
7415 7641 Class member attributes (count = 1):
7416   - + Code attribute instructions (code length = 60, locals = 3, stack = 8):
7417   - [0] getstatic #64
  7642 + + Code attribute instructions (code length = 58, locals = 4, stack = 8):
  7643 + [0] getstatic #72
7418 7644 + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
7419 7645 [3] ifnonnull +13 (target=16)
7420   - [6] new #55
  7646 + [6] new #58
7421 7647 + Class [java/lang/RuntimeException]
7422 7648 [9] dup
7423   - [10] ldc #6
  7649 + [10] ldc #7
7424 7650 + String [currentUser should not be null.]
7425   - [12] invokespecial #136
  7651 + [12] invokespecial #152
7426 7652 + Methodref [java/lang/RuntimeException.<init> (Ljava/lang/String;)V]
7427 7653 [15] athrow
7428   - [16] aload_1 v1
7429   - [17] getstatic #64
  7654 + [16] aload_2 v2
  7655 + [17] getstatic #72
7430 7656 + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
7431   - [20] invokevirtual #124
  7657 + [20] invokevirtual #139
7432 7658 + Methodref [io/rong/imlib/model/MessageContent.setUserInfo (Lio/rong/imlib/model/UserInfo;)V]
7433   - [23] getstatic #63
7434   - + Fieldref [io/rong/imlib/Chat.currentRoomId Ljava/lang/String;]
7435   - [26] getstatic #74
  7659 + [23] aload_1 v1
  7660 + [24] getstatic #84
7436 7661 + Fieldref [io/rong/imlib/model/Conversation$ConversationType.CHATROOM Lio/rong/imlib/model/Conversation$ConversationType;]
7437   - [29] aload_1 v1
7438   - [30] invokestatic #122
  7662 + [27] aload_2 v2
  7663 + [28] invokestatic #137
7439 7664 + Methodref [io/rong/imlib/model/Message.obtain (Ljava/lang/String;Lio/rong/imlib/model/Conversation$ConversationType;Lio/rong/imlib/model/MessageContent;)Lio/rong/imlib/model/Message;]
7440   - [33] astore_2 v2
7441   - [34] invokestatic #101
  7665 + [31] astore_3 v3
  7666 + [32] invokestatic #115
7442 7667 + Methodref [io/rong/imlib/RongIMClient.getInstance ()Lio/rong/imlib/RongIMClient;]
7443   - [37] aload_2 v2
7444   - [38] aconst_null
7445   - [39] aconst_null
7446   - [40] new #22
  7668 + [35] aload_3 v3
  7669 + [36] aconst_null
  7670 + [37] aconst_null
  7671 + [38] new #25
7447 7672 + Class [io/rong/imlib/Chat$6]
7448   - [43] dup
7449   - [44] aload_0 v0
7450   - [45] invokespecial #95
  7673 + [41] dup
  7674 + [42] aload_0 v0
  7675 + [43] invokespecial #109
7451 7676 + Methodref [io/rong/imlib/Chat$6.<init> (Lio/rong/imlib/Chat;)V]
7452   - [48] new #23
  7677 + [46] new #26
7453 7678 + Class [io/rong/imlib/Chat$7]
7454   - [51] dup
7455   - [52] aload_0 v0
7456   - [53] invokespecial #96
  7679 + [49] dup
  7680 + [50] aload_0 v0
  7681 + [51] invokespecial #110
7457 7682 + Methodref [io/rong/imlib/Chat$7.<init> (Lio/rong/imlib/Chat;)V]
7458   - [56] invokevirtual #107
  7683 + [54] invokevirtual #121
7459 7684 + Methodref [io/rong/imlib/RongIMClient.sendMessage (Lio/rong/imlib/model/Message;Ljava/lang/String;Ljava/lang/String;Lio/rong/imlib/RongIMClient$SendMessageCallback;Lio/rong/imlib/RongIMClient$ResultCallback;)V]
7460   - [59] return
  7685 + [57] return
7461 7686 Code attribute exceptions (count = 0):
7462 7687 Code attribute attributes (attribute count = 1):
7463 7688 + Line number table attribute (count = 6)
7464   - [0] -> line 190
7465   - [6] -> line 191
7466   - [16] -> line 194
7467   - [23] -> line 195
7468   - [34] -> line 196
7469   - [59] -> line 220
7470   - + Method: sendPrivateMessage(Ljava/lang/String;Ljava/lang/String;)V
7471   - Access flags: 0x1
7472   - = public void sendPrivateMessage(java.lang.String,java.lang.String)
  7689 + [0] -> line 223
  7690 + [6] -> line 224
  7691 + [16] -> line 227
  7692 + [23] -> line 228
  7693 + [32] -> line 229
  7694 + [57] -> line 254
  7695 + + Method: sendPrivateMessage(Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V
  7696 + Access flags: 0x2
  7697 + = private void sendPrivateMessage(java.lang.String,io.rong.imlib.model.MessageContent)
7473 7698 Class member attributes (count = 1):
7474   - + Code attribute instructions (code length = 65, locals = 5, stack = 8):
7475   - [0] getstatic #64
  7699 + + Code attribute instructions (code length = 58, locals = 4, stack = 8):
  7700 + [0] getstatic #72
7476 7701 + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
7477 7702 [3] ifnonnull +13 (target=16)
7478   - [6] new #55
  7703 + [6] new #58
7479 7704 + Class [java/lang/RuntimeException]
7480 7705 [9] dup
7481   - [10] ldc #6
  7706 + [10] ldc #7
7482 7707 + String [currentUser should not be null.]
7483   - [12] invokespecial #136
  7708 + [12] invokespecial #152
7484 7709 + Methodref [java/lang/RuntimeException.<init> (Ljava/lang/String;)V]
7485 7710 [15] athrow
7486 7711 [16] aload_2 v2
7487   - [17] invokestatic #133
7488   - + Methodref [io/rong/message/TextMessage.obtain (Ljava/lang/String;)Lio/rong/message/TextMessage;]
7489   - [20] astore_3 v3
7490   - [21] aload_3 v3
7491   - [22] getstatic #64
  7712 + [17] getstatic #72
7492 7713 + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
7493   - [25] invokevirtual #134
7494   - + Methodref [io/rong/message/TextMessage.setUserInfo (Lio/rong/imlib/model/UserInfo;)V]
7495   - [28] aload_1 v1
7496   - [29] getstatic #75
  7714 + [20] invokevirtual #139
  7715 + + Methodref [io/rong/imlib/model/MessageContent.setUserInfo (Lio/rong/imlib/model/UserInfo;)V]
  7716 + [23] aload_1 v1
  7717 + [24] getstatic #85
7497 7718 + Fieldref [io/rong/imlib/model/Conversation$ConversationType.PRIVATE Lio/rong/imlib/model/Conversation$ConversationType;]
7498   - [32] aload_3 v3
7499   - [33] invokestatic #122
  7719 + [27] aload_2 v2
  7720 + [28] invokestatic #137
7500 7721 + Methodref [io/rong/imlib/model/Message.obtain (Ljava/lang/String;Lio/rong/imlib/model/Conversation$ConversationType;Lio/rong/imlib/model/MessageContent;)Lio/rong/imlib/model/Message;]
7501   - [36] astore v4
7502   - [38] invokestatic #101
  7722 + [31] astore_3 v3
  7723 + [32] invokestatic #115
7503 7724 + Methodref [io/rong/imlib/RongIMClient.getInstance ()Lio/rong/imlib/RongIMClient;]
7504   - [41] aload v4
7505   - [43] aconst_null
7506   - [44] aconst_null
7507   - [45] new #24
  7725 + [35] aload_3 v3
  7726 + [36] aconst_null
  7727 + [37] aconst_null
  7728 + [38] new #27
7508 7729 + Class [io/rong/imlib/Chat$8]
7509   - [48] dup
7510   - [49] aload_0 v0
7511   - [50] invokespecial #97
  7730 + [41] dup
  7731 + [42] aload_0 v0
  7732 + [43] invokespecial #111
7512 7733 + Methodref [io/rong/imlib/Chat$8.<init> (Lio/rong/imlib/Chat;)V]
7513   - [53] new #25
  7734 + [46] new #28
7514 7735 + Class [io/rong/imlib/Chat$9]
7515   - [56] dup
7516   - [57] aload_0 v0
7517   - [58] invokespecial #98
  7736 + [49] dup
  7737 + [50] aload_0 v0
  7738 + [51] invokespecial #112
7518 7739 + Methodref [io/rong/imlib/Chat$9.<init> (Lio/rong/imlib/Chat;)V]
7519   - [61] invokevirtual #107
  7740 + [54] invokevirtual #121
7520 7741 + Methodref [io/rong/imlib/RongIMClient.sendMessage (Lio/rong/imlib/model/Message;Ljava/lang/String;Ljava/lang/String;Lio/rong/imlib/RongIMClient$SendMessageCallback;Lio/rong/imlib/RongIMClient$ResultCallback;)V]
7521   - [64] return
  7742 + [57] return
7522 7743 Code attribute exceptions (count = 0):
7523 7744 Code attribute attributes (attribute count = 1):
7524   - + Line number table attribute (count = 7)
7525   - [0] -> line 224
7526   - [6] -> line 225
7527   - [16] -> line 228
7528   - [21] -> line 230
7529   - [28] -> line 232
7530   - [38] -> line 233
7531   - [64] -> line 258
  7745 + + Line number table attribute (count = 6)
  7746 + [0] -> line 258
  7747 + [6] -> line 259
  7748 + [16] -> line 262
  7749 + [23] -> line 264
  7750 + [32] -> line 265
  7751 + [57] -> line 290
7532 7752 + Method: setConnectStatusListener(Lio/rong/imlib/RongIMClient$ConnectionStatusListener;)V
7533 7753 Access flags: 0x2
7534 7754 = private void setConnectStatusListener(io.rong.imlib.RongIMClient$ConnectionStatusListener)
7535 7755 Class member attributes (count = 1):
7536 7756 + Code attribute instructions (code length = 5, locals = 2, stack = 1):
7537 7757 [0] aload_1 v1
7538   - [1] invokestatic #109
  7758 + [1] invokestatic #123
7539 7759 + Methodref [io/rong/imlib/RongIMClient.setConnectionStatusListener (Lio/rong/imlib/RongIMClient$ConnectionStatusListener;)V]
7540 7760 [4] return
7541 7761 Code attribute exceptions (count = 0):
7542 7762 Code attribute attributes (attribute count = 1):
7543 7763 + Line number table attribute (count = 2)
7544   - [0] -> line 261
7545   - [4] -> line 262
  7764 + [0] -> line 293
  7765 + [4] -> line 294
7546 7766 + Method: setOnReceiveMessageListener(Lio/rong/imlib/RongIMClient$OnReceiveMessageListener;)V
7547 7767 Access flags: 0x2
7548 7768 = private void setOnReceiveMessageListener(io.rong.imlib.RongIMClient$OnReceiveMessageListener)
7549 7769 Class member attributes (count = 1):
7550 7770 + Code attribute instructions (code length = 5, locals = 2, stack = 1):
7551 7771 [0] aload_1 v1
7552   - [1] invokestatic #110
  7772 + [1] invokestatic #124
7553 7773 + Methodref [io/rong/imlib/RongIMClient.setOnReceiveMessageListener (Lio/rong/imlib/RongIMClient$OnReceiveMessageListener;)V]
7554 7774 [4] return
7555 7775 Code attribute exceptions (count = 0):
7556 7776 Code attribute attributes (attribute count = 1):
7557 7777 + Line number table attribute (count = 2)
7558   - [0] -> line 295
7559   - [4] -> line 296
  7778 + [0] -> line 327
  7779 + [4] -> line 328
7560 7780 + Method: setChatRoomActionListener(Lio/rong/imlib/RongIMClient$ChatRoomActionListener;)V
7561 7781 Access flags: 0x2
7562 7782 = private void setChatRoomActionListener(io.rong.imlib.RongIMClient$ChatRoomActionListener)
7563 7783 Class member attributes (count = 1):
7564 7784 + Code attribute instructions (code length = 5, locals = 2, stack = 1):
7565 7785 [0] aload_1 v1
7566   - [1] invokestatic #108
  7786 + [1] invokestatic #122
7567 7787 + Methodref [io/rong/imlib/RongIMClient.setChatRoomActionListener (Lio/rong/imlib/RongIMClient$ChatRoomActionListener;)V]
7568 7788 [4] return
7569 7789 Code attribute exceptions (count = 0):
7570 7790 Code attribute attributes (attribute count = 1):
7571 7791 + Line number table attribute (count = 2)
7572   - [0] -> line 299
7573   - [4] -> line 300
  7792 + [0] -> line 331
  7793 + [4] -> line 332
7574 7794 + Method: cnMessage(Lio/rong/imlib/model/Message;)Lio/rong/imlib/model/CNMessage;
7575 7795 Access flags: 0x2
7576 7796 = private io.rong.imlib.model.CNMessage cnMessage(io.rong.imlib.model.Message)
7577 7797 Class member attributes (count = 1):
7578 7798 + Code attribute instructions (code length = 184, locals = 8, stack = 2):
7579   - [0] new #43
  7799 + [0] new #46
7580 7800 + Class [io/rong/imlib/model/CNMessage]
7581 7801 [3] dup
7582   - [4] invokespecial #111
  7802 + [4] invokespecial #125
7583 7803 + Methodref [io/rong/imlib/model/CNMessage.<init> ()V]
7584 7804 [7] astore v6
7585 7805 [9] aload_1 v1
7586   - [10] invokevirtual #121
  7806 + [10] invokevirtual #136
7587 7807 + Methodref [io/rong/imlib/model/Message.getContent ()Lio/rong/imlib/model/MessageContent;]
7588 7808 [13] ifnonnull +8 (target=21)
7589 7809 [16] ldc #1
7590 7810 + String []
7591 7811 [18] goto +7 (target=25)
7592 7812 [21] aload_1 v1
7593   - [22] invokevirtual #121
  7813 + [22] invokevirtual #136
7594 7814 + Methodref [io/rong/imlib/model/Message.getContent ()Lio/rong/imlib/model/MessageContent;]
7595   - [25] checkcast #53
  7815 + [25] checkcast #56
7596 7816 + Class [io/rong/message/TextMessage]
7597   - [28] checkcast #53
  7817 + [28] checkcast #56
7598 7818 + Class [io/rong/message/TextMessage]
7599 7819 [31] astore v7
7600 7820 [33] aload v7
7601   - [35] invokevirtual #132
  7821 + [35] invokevirtual #149
7602 7822 + Methodref [io/rong/message/TextMessage.getContent ()Ljava/lang/String;]
7603 7823 [38] astore_2 v2
7604 7824 [39] aload v6
7605 7825 [41] aload_2 v2
7606   - [42] invokevirtual #112
  7826 + [42] invokevirtual #126
7607 7827 + Methodref [io/rong/imlib/model/CNMessage.setContent (Ljava/lang/String;)V]
7608 7828 [45] aload_1 v1
7609   - [46] invokevirtual #121
  7829 + [46] invokevirtual #136
7610 7830 + Methodref [io/rong/imlib/model/Message.getContent ()Lio/rong/imlib/model/MessageContent;]
7611   - [49] invokevirtual #123
  7831 + [49] invokevirtual #138
7612 7832 + Methodref [io/rong/imlib/model/MessageContent.getUserInfo ()Lio/rong/imlib/model/UserInfo;]
7613   - [52] invokevirtual #128
  7833 + [52] invokevirtual #143
7614 7834 + Methodref [io/rong/imlib/model/UserInfo.getUserId ()Ljava/lang/String;]
7615 7835 [55] ifnonnull +8 (target=63)
7616 7836 [58] ldc #1
7617 7837 + String []
7618 7838 [60] goto +13 (target=73)
7619 7839 [63] aload_1 v1
7620   - [64] invokevirtual #121
  7840 + [64] invokevirtual #136
7621 7841 + Methodref [io/rong/imlib/model/Message.getContent ()Lio/rong/imlib/model/MessageContent;]
7622   - [67] invokevirtual #123
  7842 + [67] invokevirtual #138
7623 7843 + Methodref [io/rong/imlib/model/MessageContent.getUserInfo ()Lio/rong/imlib/model/UserInfo;]
7624   - [70] invokevirtual #128
  7844 + [70] invokevirtual #143
7625 7845 + Methodref [io/rong/imlib/model/UserInfo.getUserId ()Ljava/lang/String;]
7626 7846 [73] astore_3 v3
7627 7847 [74] aload_1 v1
7628   - [75] invokevirtual #121
  7848 + [75] invokevirtual #136
7629 7849 + Methodref [io/rong/imlib/model/Message.getContent ()Lio/rong/imlib/model/MessageContent;]
7630   - [78] invokevirtual #123
  7850 + [78] invokevirtual #138
7631 7851 + Methodref [io/rong/imlib/model/MessageContent.getUserInfo ()Lio/rong/imlib/model/UserInfo;]
7632   - [81] invokevirtual #126
  7852 + [81] invokevirtual #141
7633 7853 + Methodref [io/rong/imlib/model/UserInfo.getName ()Ljava/lang/String;]
7634 7854 [84] ifnonnull +8 (target=92)
7635 7855 [87] ldc #1
7636 7856 + String []
7637 7857 [89] goto +13 (target=102)
7638 7858 [92] aload_1 v1
7639   - [93] invokevirtual #121
  7859 + [93] invokevirtual #136
7640 7860 + Methodref [io/rong/imlib/model/Message.getContent ()Lio/rong/imlib/model/MessageContent;]
7641   - [96] invokevirtual #123
  7861 + [96] invokevirtual #138
7642 7862 + Methodref [io/rong/imlib/model/MessageContent.getUserInfo ()Lio/rong/imlib/model/UserInfo;]
7643   - [99] invokevirtual #126
  7863 + [99] invokevirtual #141
7644 7864 + Methodref [io/rong/imlib/model/UserInfo.getName ()Ljava/lang/String;]
7645 7865 [102] astore v4
7646 7866 [104] aload_1 v1
7647   - [105] invokevirtual #121
  7867 + [105] invokevirtual #136
7648 7868 + Methodref [io/rong/imlib/model/Message.getContent ()Lio/rong/imlib/model/MessageContent;]
7649   - [108] invokevirtual #123
  7869 + [108] invokevirtual #138
7650 7870 + Methodref [io/rong/imlib/model/MessageContent.getUserInfo ()Lio/rong/imlib/model/UserInfo;]
7651   - [111] invokevirtual #127
  7871 + [111] invokevirtual #142
7652 7872 + Methodref [io/rong/imlib/model/UserInfo.getPortraitUri ()Landroid/net/Uri;]
7653   - [114] invokevirtual #77
  7873 + [114] invokevirtual #87
7654 7874 + Methodref [android/net/Uri.toString ()Ljava/lang/String;]
7655 7875 [117] ifnonnull +8 (target=125)
7656 7876 [120] ldc #1
7657 7877 + String []
7658 7878 [122] goto +16 (target=138)
7659 7879 [125] aload_1 v1
7660   - [126] invokevirtual #121
  7880 + [126] invokevirtual #136
7661 7881 + Methodref [io/rong/imlib/model/Message.getContent ()Lio/rong/imlib/model/MessageContent;]
7662   - [129] invokevirtual #123
  7882 + [129] invokevirtual #138
7663 7883 + Methodref [io/rong/imlib/model/MessageContent.getUserInfo ()Lio/rong/imlib/model/UserInfo;]
7664   - [132] invokevirtual #127
  7884 + [132] invokevirtual #142
7665 7885 + Methodref [io/rong/imlib/model/UserInfo.getPortraitUri ()Landroid/net/Uri;]
7666   - [135] invokevirtual #77
  7886 + [135] invokevirtual #87
7667 7887 + Methodref [android/net/Uri.toString ()Ljava/lang/String;]
7668 7888 [138] astore v5
7669   - [140] new #44
  7889 + [140] new #47
7670 7890 + Class [io/rong/imlib/model/CNUserInfo]
7671 7891 [143] dup
7672   - [144] invokespecial #114
  7892 + [144] invokespecial #128
7673 7893 + Methodref [io/rong/imlib/model/CNUserInfo.<init> ()V]
7674   - [147] putstatic #62
  7894 + [147] putstatic #70
7675 7895 + Fieldref [io/rong/imlib/Chat.currentCNUser Lio/rong/imlib/model/CNUserInfo;]
7676   - [150] getstatic #62
  7896 + [150] getstatic #70
7677 7897 + Fieldref [io/rong/imlib/Chat.currentCNUser Lio/rong/imlib/model/CNUserInfo;]
7678 7898 [153] aload_3 v3
7679   - [154] invokevirtual #119
  7899 + [154] invokevirtual #134
7680 7900 + Methodref [io/rong/imlib/model/CNUserInfo.setUserId (Ljava/lang/String;)V]
7681   - [157] getstatic #62
  7901 + [157] getstatic #70
7682 7902 + Fieldref [io/rong/imlib/Chat.currentCNUser Lio/rong/imlib/model/CNUserInfo;]
7683 7903 [160] aload v4
7684   - [162] invokevirtual #120
  7904 + [162] invokevirtual #135
7685 7905 + Methodref [io/rong/imlib/model/CNUserInfo.setUserName (Ljava/lang/String;)V]
7686   - [165] getstatic #62
  7906 + [165] getstatic #70
7687 7907 + Fieldref [io/rong/imlib/Chat.currentCNUser Lio/rong/imlib/model/CNUserInfo;]
7688 7908 [168] aload v5
7689   - [170] invokevirtual #118
  7909 + [170] invokevirtual #133
7690 7910 + Methodref [io/rong/imlib/model/CNUserInfo.setHeadUrl (Ljava/lang/String;)V]
7691 7911 [173] aload v6
7692   - [175] getstatic #62
  7912 + [175] getstatic #70
7693 7913 + Fieldref [io/rong/imlib/Chat.currentCNUser Lio/rong/imlib/model/CNUserInfo;]
7694   - [178] invokevirtual #113
  7914 + [178] invokevirtual #127
7695 7915 + Methodref [io/rong/imlib/model/CNMessage.setUserInfo (Lio/rong/imlib/model/CNUserInfo;)V]
7696 7916 [181] aload v6
7697 7917 [183] areturn
7698 7918 Code attribute exceptions (count = 0):
7699 7919 Code attribute attributes (attribute count = 1):
7700 7920 + Line number table attribute (count = 13)
7701   - [0] -> line 339
7702   - [9] -> line 340
7703   - [33] -> line 341
7704   - [39] -> line 342
7705   - [45] -> line 344
7706   - [74] -> line 345
7707   - [104] -> line 346
7708   - [140] -> line 348
7709   - [150] -> line 349
7710   - [157] -> line 350
7711   - [165] -> line 351
7712   - [173] -> line 352
7713   - [181] -> line 353
  7921 + [0] -> line 371
  7922 + [9] -> line 372
  7923 + [33] -> line 373
  7924 + [39] -> line 374
  7925 + [45] -> line 376
  7926 + [74] -> line 377
  7927 + [104] -> line 378
  7928 + [140] -> line 380
  7929 + [150] -> line 381
  7930 + [157] -> line 382
  7931 + [165] -> line 383
  7932 + [173] -> line 384
  7933 + [181] -> line 385
7714 7934 + Method: getLatestMessages(Ljava/lang/String;I)V
7715 7935 Access flags: 0x1
7716 7936 = public void getLatestMessages(java.lang.String,int)
7717 7937 Class member attributes (count = 1):
7718 7938 + Code attribute instructions (code length = 20, locals = 3, stack = 7):
7719   - [0] invokestatic #101
  7939 + [0] invokestatic #115
7720 7940 + Methodref [io/rong/imlib/RongIMClient.getInstance ()Lio/rong/imlib/RongIMClient;]
7721   - [3] getstatic #75
  7941 + [3] getstatic #85
7722 7942 + Fieldref [io/rong/imlib/model/Conversation$ConversationType.PRIVATE Lio/rong/imlib/model/Conversation$ConversationType;]
7723 7943 [6] aload_1 v1
7724 7944 [7] iload_2 v2
7725   - [8] new #16
  7945 + [8] new #19
7726 7946 + Class [io/rong/imlib/Chat$13]
7727 7947 [11] dup
7728 7948 [12] aload_0 v0
7729   - [13] invokespecial #90
  7949 + [13] invokespecial #104
7730 7950 + Methodref [io/rong/imlib/Chat$13.<init> (Lio/rong/imlib/Chat;)V]
7731   - [16] invokevirtual #102
  7951 + [16] invokevirtual #116
7732 7952 + Methodref [io/rong/imlib/RongIMClient.getLatestMessages (Lio/rong/imlib/model/Conversation$ConversationType;Ljava/lang/String;ILio/rong/imlib/RongIMClient$ResultCallback;)V]
7733 7953 [19] return
7734 7954 Code attribute exceptions (count = 0):
7735 7955 Code attribute attributes (attribute count = 1):
7736 7956 + Line number table attribute (count = 2)
7737   - [0] -> line 358
7738   - [19] -> line 373
  7957 + [0] -> line 390
  7958 + [19] -> line 405
7739 7959 + Method: setConnectStatusListener(Lio/rong/imlib/base/IChat$OnConnectStatusListener;)V
7740 7960 Access flags: 0x1
7741 7961 = public void setConnectStatusListener(io.rong.imlib.base.IChat$OnConnectStatusListener)
... ... @@ -7743,21 +7963,21 @@ Methods (count = 37):
7743 7963 + Code attribute instructions (code length = 14, locals = 2, stack = 2):
7744 7964 [0] aload_0 v0
7745 7965 [1] aload_1 v1
7746   - [2] putfield #65
  7966 + [2] putfield #74
7747 7967 + Fieldref [io/rong/imlib/Chat.mConnectStatusListener Lio/rong/imlib/base/IChat$OnConnectStatusListener;]
7748 7968 [5] aload_0 v0
7749 7969 [6] aload_0 v0
7750   - [7] getfield #61
  7970 + [7] getfield #69
7751 7971 + Fieldref [io/rong/imlib/Chat.connectionStatusListener Lio/rong/imlib/RongIMClient$ConnectionStatusListener;]
7752   - [10] invokespecial #84
  7972 + [10] invokespecial #97
7753 7973 + Methodref [io/rong/imlib/Chat.setConnectStatusListener (Lio/rong/imlib/RongIMClient$ConnectionStatusListener;)V]
7754 7974 [13] return
7755 7975 Code attribute exceptions (count = 0):
7756 7976 Code attribute attributes (attribute count = 1):
7757 7977 + Line number table attribute (count = 3)
7758   - [0] -> line 376
7759   - [5] -> line 377
7760   - [13] -> line 378
  7978 + [0] -> line 408
  7979 + [5] -> line 409
  7980 + [13] -> line 410
7761 7981 + Method: setOnChatRoomActionListener(Lio/rong/imlib/base/IChat$OnChatRoomActionListener;)V
7762 7982 Access flags: 0x1
7763 7983 = public void setOnChatRoomActionListener(io.rong.imlib.base.IChat$OnChatRoomActionListener)
... ... @@ -7765,21 +7985,21 @@ Methods (count = 37):
7765 7985 + Code attribute instructions (code length = 14, locals = 2, stack = 2):
7766 7986 [0] aload_0 v0
7767 7987 [1] aload_1 v1
7768   - [2] putfield #66
  7988 + [2] putfield #75
7769 7989 + Fieldref [io/rong/imlib/Chat.mOnChatRoomActionListener Lio/rong/imlib/base/IChat$OnChatRoomActionListener;]
7770 7990 [5] aload_0 v0
7771 7991 [6] aload_0 v0
7772   - [7] getfield #60
  7992 + [7] getfield #68
7773 7993 + Fieldref [io/rong/imlib/Chat.chatRoomActionListener Lio/rong/imlib/RongIMClient$ChatRoomActionListener;]
7774   - [10] invokespecial #83
  7994 + [10] invokespecial #96
7775 7995 + Methodref [io/rong/imlib/Chat.setChatRoomActionListener (Lio/rong/imlib/RongIMClient$ChatRoomActionListener;)V]
7776 7996 [13] return
7777 7997 Code attribute exceptions (count = 0):
7778 7998 Code attribute attributes (attribute count = 1):
7779 7999 + Line number table attribute (count = 3)
7780   - [0] -> line 381
7781   - [5] -> line 382
7782   - [13] -> line 383
  8000 + [0] -> line 413
  8001 + [5] -> line 414
  8002 + [13] -> line 415
7783 8003 + Method: setOnMessageListener(Lio/rong/imlib/base/IChat$OnMessageListener;)V
7784 8004 Access flags: 0x1
7785 8005 = public void setOnMessageListener(io.rong.imlib.base.IChat$OnMessageListener)
... ... @@ -7787,21 +8007,21 @@ Methods (count = 37):
7787 8007 + Code attribute instructions (code length = 14, locals = 2, stack = 2):
7788 8008 [0] aload_0 v0
7789 8009 [1] aload_1 v1
7790   - [2] putfield #69
  8010 + [2] putfield #78
7791 8011 + Fieldref [io/rong/imlib/Chat.mOnMessageListener Lio/rong/imlib/base/IChat$OnMessageListener;]
7792 8012 [5] aload_0 v0
7793 8013 [6] aload_0 v0
7794   - [7] getfield #73
  8014 + [7] getfield #82
7795 8015 + Fieldref [io/rong/imlib/Chat.onReceiveMessageListener Lio/rong/imlib/RongIMClient$OnReceiveMessageListener;]
7796   - [10] invokespecial #85
  8016 + [10] invokespecial #99
7797 8017 + Methodref [io/rong/imlib/Chat.setOnReceiveMessageListener (Lio/rong/imlib/RongIMClient$OnReceiveMessageListener;)V]
7798 8018 [13] return
7799 8019 Code attribute exceptions (count = 0):
7800 8020 Code attribute attributes (attribute count = 1):
7801 8021 + Line number table attribute (count = 3)
7802   - [0] -> line 386
7803   - [5] -> line 387
7804   - [13] -> line 388
  8022 + [0] -> line 418
  8023 + [5] -> line 419
  8024 + [13] -> line 420
7805 8025 + Method: setOnSendMessageListener(Lio/rong/imlib/base/IChat$OnSendMessageListener;)V
7806 8026 Access flags: 0x1
7807 8027 = public void setOnSendMessageListener(io.rong.imlib.base.IChat$OnSendMessageListener)
... ... @@ -7809,14 +8029,14 @@ Methods (count = 37):
7809 8029 + Code attribute instructions (code length = 6, locals = 2, stack = 2):
7810 8030 [0] aload_0 v0
7811 8031 [1] aload_1 v1
7812   - [2] putfield #72
  8032 + [2] putfield #81
7813 8033 + Fieldref [io/rong/imlib/Chat.mOnSendMessageListener Lio/rong/imlib/base/IChat$OnSendMessageListener;]
7814 8034 [5] return
7815 8035 Code attribute exceptions (count = 0):
7816 8036 Code attribute attributes (attribute count = 1):
7817 8037 + Line number table attribute (count = 2)
7818   - [0] -> line 391
7819   - [5] -> line 393
  8038 + [0] -> line 423
  8039 + [5] -> line 425
7820 8040 + Method: setOnConnectionListener(Lio/rong/imlib/base/IChat$OnConnectListener;)V
7821 8041 Access flags: 0x1
7822 8042 = public void setOnConnectionListener(io.rong.imlib.base.IChat$OnConnectListener)
... ... @@ -7824,14 +8044,14 @@ Methods (count = 37):
7824 8044 + Code attribute instructions (code length = 6, locals = 2, stack = 2):
7825 8045 [0] aload_0 v0
7826 8046 [1] aload_1 v1
7827   - [2] putfield #67
  8047 + [2] putfield #76
7828 8048 + Fieldref [io/rong/imlib/Chat.mOnConnectionListener Lio/rong/imlib/base/IChat$OnConnectListener;]
7829 8049 [5] return
7830 8050 Code attribute exceptions (count = 0):
7831 8051 Code attribute attributes (attribute count = 1):
7832 8052 + Line number table attribute (count = 2)
7833   - [0] -> line 396
7834   - [5] -> line 397
  8053 + [0] -> line 428
  8054 + [5] -> line 429
7835 8055 + Method: setOnOperationListener(Lio/rong/imlib/base/IChat$OnOperationListener;)V
7836 8056 Access flags: 0x1
7837 8057 = public void setOnOperationListener(io.rong.imlib.base.IChat$OnOperationListener)
... ... @@ -7839,14 +8059,14 @@ Methods (count = 37):
7839 8059 + Code attribute instructions (code length = 6, locals = 2, stack = 2):
7840 8060 [0] aload_0 v0
7841 8061 [1] aload_1 v1
7842   - [2] putfield #70
  8062 + [2] putfield #79
7843 8063 + Fieldref [io/rong/imlib/Chat.mOnOperationListener Lio/rong/imlib/base/IChat$OnOperationListener;]
7844 8064 [5] return
7845 8065 Code attribute exceptions (count = 0):
7846 8066 Code attribute attributes (attribute count = 1):
7847 8067 + Line number table attribute (count = 2)
7848   - [0] -> line 400
7849   - [5] -> line 401
  8068 + [0] -> line 432
  8069 + [5] -> line 433
7850 8070 + Method: setOnResultListener(Lio/rong/imlib/base/IChat$OnResultListener;)V
7851 8071 Access flags: 0x1
7852 8072 = public void setOnResultListener(io.rong.imlib.base.IChat$OnResultListener)
... ... @@ -7854,14 +8074,14 @@ Methods (count = 37):
7854 8074 + Code attribute instructions (code length = 6, locals = 2, stack = 2):
7855 8075 [0] aload_0 v0
7856 8076 [1] aload_1 v1
7857   - [2] putfield #71
  8077 + [2] putfield #80
7858 8078 + Fieldref [io/rong/imlib/Chat.mOnResultListener Lio/rong/imlib/base/IChat$OnResultListener;]
7859 8079 [5] return
7860 8080 Code attribute exceptions (count = 0):
7861 8081 Code attribute attributes (attribute count = 1):
7862 8082 + Line number table attribute (count = 2)
7863   - [0] -> line 404
7864   - [5] -> line 405
  8083 + [0] -> line 436
  8084 + [5] -> line 437
7865 8085 + Method: setOnLatestMessageListener(Lio/rong/imlib/base/IChat$OnLatestMessageListener;)V
7866 8086 Access flags: 0x1
7867 8087 = public void setOnLatestMessageListener(io.rong.imlib.base.IChat$OnLatestMessageListener)
... ... @@ -7869,47 +8089,89 @@ Methods (count = 37):
7869 8089 + Code attribute instructions (code length = 6, locals = 2, stack = 2):
7870 8090 [0] aload_0 v0
7871 8091 [1] aload_1 v1
7872   - [2] putfield #68
  8092 + [2] putfield #77
7873 8093 + Fieldref [io/rong/imlib/Chat.mOnLatestMessageListener Lio/rong/imlib/base/IChat$OnLatestMessageListener;]
7874 8094 [5] return
7875 8095 Code attribute exceptions (count = 0):
7876 8096 Code attribute attributes (attribute count = 1):
7877 8097 + Line number table attribute (count = 2)
7878   - [0] -> line 408
7879   - [5] -> line 409
  8098 + [0] -> line 440
  8099 + [5] -> line 441
7880 8100 + Method: getCurrentUser()Lio/rong/imlib/model/UserInfo;
7881 8101 Access flags: 0x1
7882 8102 = public io.rong.imlib.model.UserInfo getCurrentUser()
7883 8103 Class member attributes (count = 1):
7884 8104 + Code attribute instructions (code length = 4, locals = 1, stack = 1):
7885   - [0] getstatic #64
  8105 + [0] getstatic #72
7886 8106 + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
7887 8107 [3] areturn
7888 8108 Code attribute exceptions (count = 0):
7889 8109 Code attribute attributes (attribute count = 1):
7890 8110 + Line number table attribute (count = 1)
7891   - [0] -> line 412
  8111 + [0] -> line 444
7892 8112 + Method: setCurrentUser(Lio/rong/imlib/model/UserInfo;)V
7893 8113 Access flags: 0x1
7894 8114 = public void setCurrentUser(io.rong.imlib.model.UserInfo)
7895 8115 Class member attributes (count = 1):
7896 8116 + Code attribute instructions (code length = 5, locals = 2, stack = 1):
7897 8117 [0] aload_1 v1
7898   - [1] putstatic #64
  8118 + [1] putstatic #72
7899 8119 + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
7900 8120 [4] return
7901 8121 Code attribute exceptions (count = 0):
7902 8122 Code attribute attributes (attribute count = 1):
7903 8123 + Line number table attribute (count = 2)
7904   - [0] -> line 416
7905   - [4] -> line 417
  8124 + [0] -> line 448
  8125 + [4] -> line 449
  8126 + + Method: getCurrentCNUser()Lio/rong/imlib/model/CNUserInfo;
  8127 + Access flags: 0x9
  8128 + = public static io.rong.imlib.model.CNUserInfo getCurrentCNUser()
  8129 + Class member attributes (count = 1):
  8130 + + Code attribute instructions (code length = 4, locals = 0, stack = 1):
  8131 + [0] getstatic #70
  8132 + + Fieldref [io/rong/imlib/Chat.currentCNUser Lio/rong/imlib/model/CNUserInfo;]
  8133 + [3] areturn
  8134 + Code attribute exceptions (count = 0):
  8135 + Code attribute attributes (attribute count = 1):
  8136 + + Line number table attribute (count = 1)
  8137 + [0] -> line 452
  8138 + + Method: modifyUser(Ljava/lang/String;Ljava/lang/String;)V
  8139 + Access flags: 0x1
  8140 + = public void modifyUser(java.lang.String,java.lang.String)
  8141 + Class member attributes (count = 1):
  8142 + + Code attribute instructions (code length = 25, locals = 3, stack = 2):
  8143 + [0] getstatic #72
  8144 + + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
  8145 + [3] aload_1 v1
  8146 + [4] invokevirtual #144
  8147 + + Methodref [io/rong/imlib/model/UserInfo.setName (Ljava/lang/String;)V]
  8148 + [7] getstatic #72
  8149 + + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
  8150 + [10] aload_2 v2
  8151 + [11] invokestatic #86
  8152 + + Methodref [android/net/Uri.parse (Ljava/lang/String;)Landroid/net/Uri;]
  8153 + [14] invokevirtual #145
  8154 + + Methodref [io/rong/imlib/model/UserInfo.setPortraitUri (Landroid/net/Uri;)V]
  8155 + [17] aload_0 v0
  8156 + [18] getstatic #72
  8157 + + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
  8158 + [21] invokevirtual #98
  8159 + + Methodref [io/rong/imlib/Chat.setCurrentUser (Lio/rong/imlib/model/UserInfo;)V]
  8160 + [24] return
  8161 + Code attribute exceptions (count = 0):
  8162 + Code attribute attributes (attribute count = 1):
  8163 + + Line number table attribute (count = 4)
  8164 + [0] -> line 457
  8165 + [7] -> line 458
  8166 + [17] -> line 459
  8167 + [24] -> line 460
7906 8168 + Method: access$000(Lio/rong/imlib/Chat;)Lio/rong/imlib/base/IChat$OnConnectListener;
7907 8169 Access flags: 0x1008
7908 8170 = static synthetic io.rong.imlib.base.IChat$OnConnectListener access$000(io.rong.imlib.Chat)
7909 8171 Class member attributes (count = 1):
7910 8172 + Code attribute instructions (code length = 5, locals = 1, stack = 1):
7911 8173 [0] aload_0 v0
7912   - [1] getfield #67
  8174 + [1] getfield #76
7913 8175 + Fieldref [io/rong/imlib/Chat.mOnConnectionListener Lio/rong/imlib/base/IChat$OnConnectListener;]
7914 8176 [4] areturn
7915 8177 Code attribute exceptions (count = 0):
... ... @@ -7922,7 +8184,7 @@ Methods (count = 37):
7922 8184 Class member attributes (count = 1):
7923 8185 + Code attribute instructions (code length = 5, locals = 1, stack = 1):
7924 8186 [0] aload_0 v0
7925   - [1] getfield #70
  8187 + [1] getfield #79
7926 8188 + Fieldref [io/rong/imlib/Chat.mOnOperationListener Lio/rong/imlib/base/IChat$OnOperationListener;]
7927 8189 [4] areturn
7928 8190 Code attribute exceptions (count = 0):
... ... @@ -7935,7 +8197,7 @@ Methods (count = 37):
7935 8197 Class member attributes (count = 1):
7936 8198 + Code attribute instructions (code length = 5, locals = 1, stack = 1):
7937 8199 [0] aload_0 v0
7938   - [1] getfield #72
  8200 + [1] getfield #81
7939 8201 + Fieldref [io/rong/imlib/Chat.mOnSendMessageListener Lio/rong/imlib/base/IChat$OnSendMessageListener;]
7940 8202 [4] areturn
7941 8203 Code attribute exceptions (count = 0):
... ... @@ -7949,7 +8211,7 @@ Methods (count = 37):
7949 8211 + Code attribute instructions (code length = 6, locals = 2, stack = 2):
7950 8212 [0] aload_0 v0
7951 8213 [1] aload_1 v1
7952   - [2] invokespecial #80
  8214 + [2] invokespecial #89
7953 8215 + Methodref [io/rong/imlib/Chat.cnMessage (Lio/rong/imlib/model/Message;)Lio/rong/imlib/model/CNMessage;]
7954 8216 [5] areturn
7955 8217 Code attribute exceptions (count = 0):
... ... @@ -7962,7 +8224,7 @@ Methods (count = 37):
7962 8224 Class member attributes (count = 1):
7963 8225 + Code attribute instructions (code length = 5, locals = 1, stack = 1):
7964 8226 [0] aload_0 v0
7965   - [1] getfield #71
  8227 + [1] getfield #80
7966 8228 + Fieldref [io/rong/imlib/Chat.mOnResultListener Lio/rong/imlib/base/IChat$OnResultListener;]
7967 8229 [4] areturn
7968 8230 Code attribute exceptions (count = 0):
... ... @@ -7975,7 +8237,7 @@ Methods (count = 37):
7975 8237 Class member attributes (count = 1):
7976 8238 + Code attribute instructions (code length = 5, locals = 1, stack = 1):
7977 8239 [0] aload_0 v0
7978   - [1] getfield #65
  8240 + [1] getfield #74
7979 8241 + Fieldref [io/rong/imlib/Chat.mConnectStatusListener Lio/rong/imlib/base/IChat$OnConnectStatusListener;]
7980 8242 [4] areturn
7981 8243 Code attribute exceptions (count = 0):
... ... @@ -7988,7 +8250,7 @@ Methods (count = 37):
7988 8250 Class member attributes (count = 1):
7989 8251 + Code attribute instructions (code length = 5, locals = 1, stack = 1):
7990 8252 [0] aload_0 v0
7991   - [1] getfield #66
  8253 + [1] getfield #75
7992 8254 + Fieldref [io/rong/imlib/Chat.mOnChatRoomActionListener Lio/rong/imlib/base/IChat$OnChatRoomActionListener;]
7993 8255 [4] areturn
7994 8256 Code attribute exceptions (count = 0):
... ... @@ -8001,7 +8263,7 @@ Methods (count = 37):
8001 8263 Class member attributes (count = 1):
8002 8264 + Code attribute instructions (code length = 5, locals = 1, stack = 1):
8003 8265 [0] aload_0 v0
8004   - [1] getfield #69
  8266 + [1] getfield #78
8005 8267 + Fieldref [io/rong/imlib/Chat.mOnMessageListener Lio/rong/imlib/base/IChat$OnMessageListener;]
8006 8268 [4] areturn
8007 8269 Code attribute exceptions (count = 0):
... ... @@ -8014,13 +8276,32 @@ Methods (count = 37):
8014 8276 Class member attributes (count = 1):
8015 8277 + Code attribute instructions (code length = 5, locals = 1, stack = 1):
8016 8278 [0] aload_0 v0
8017   - [1] getfield #68
  8279 + [1] getfield #77
8018 8280 + Fieldref [io/rong/imlib/Chat.mOnLatestMessageListener Lio/rong/imlib/base/IChat$OnLatestMessageListener;]
8019 8281 [4] areturn
8020 8282 Code attribute exceptions (count = 0):
8021 8283 Code attribute attributes (attribute count = 1):
8022 8284 + Line number table attribute (count = 1)
8023 8285 [0] -> line 27
  8286 + - Method: <clinit>()V
  8287 + Access flags: 0x8
  8288 + = static void <clinit>()
  8289 + Class member attributes (count = 1):
  8290 + + Code attribute instructions (code length = 11, locals = 0, stack = 1):
  8291 + [0] ldc #8
  8292 + + String [e5t4ouvpe5qea]
  8293 + [2] putstatic #65
  8294 + + Fieldref [io/rong/imlib/Chat.APP_KEY Ljava/lang/String;]
  8295 + [5] ldc #5
  8296 + + String [N16VJFIPE22p]
  8297 + [7] putstatic #66
  8298 + + Fieldref [io/rong/imlib/Chat.APP_SECRET Ljava/lang/String;]
  8299 + [10] return
  8300 + Code attribute exceptions (count = 0):
  8301 + Code attribute attributes (attribute count = 1):
  8302 + + Line number table attribute (count = 2)
  8303 + [0] -> line 48
  8304 + [5] -> line 49
8024 8305  
8025 8306 Class file attributes (count = 2):
8026 8307 + Inner classes attribute (count = 32)
... ... @@ -8244,7 +8525,7 @@ Methods (count = 2):
8244 8525 Code attribute exceptions (count = 0):
8245 8526 Code attribute attributes (attribute count = 1):
8246 8527 + Line number table attribute (count = 1)
8247   - [0] -> line 76
  8528 + [0] -> line 90
8248 8529 + Method: onResponse(ILjava/lang/String;)V
8249 8530 Access flags: 0x1
8250 8531 = public void onResponse(int,java.lang.String)
... ... @@ -8285,15 +8566,15 @@ Methods (count = 2):
8285 8566 + Class [org/json/JSONException]
8286 8567 Code attribute attributes (attribute count = 1):
8287 8568 + Line number table attribute (count = 9)
8288   - [0] -> line 79
8289   - [8] -> line 82
8290   - [18] -> line 83
8291   - [26] -> line 87
8292   - [29] -> line 84
8293   - [31] -> line 85
8294   - [36] -> line 86
8295   - [37] -> line 88
8296   - [45] -> line 89
  8569 + [0] -> line 93
  8570 + [8] -> line 96
  8571 + [18] -> line 97
  8572 + [26] -> line 101
  8573 + [29] -> line 98
  8574 + [31] -> line 99
  8575 + [36] -> line 100
  8576 + [37] -> line 102
  8577 + [45] -> line 103
8297 8578  
8298 8579 Class file attributes (count = 3):
8299 8580 + Enclosing method attribute:
... ... @@ -8415,7 +8696,7 @@ Methods (count = 2):
8415 8696 Code attribute exceptions (count = 0):
8416 8697 Code attribute attributes (attribute count = 1):
8417 8698 + Line number table attribute (count = 1)
8418   - [0] -> line 264
  8699 + [0] -> line 296
8419 8700 + Method: onChanged(Lio/rong/imlib/RongIMClient$ConnectionStatusListener$ConnectionStatus;)V
8420 8701 Access flags: 0x1
8421 8702 = public void onChanged(io.rong.imlib.RongIMClient$ConnectionStatusListener$ConnectionStatus)
... ... @@ -8516,21 +8797,21 @@ Methods (count = 2):
8516 8797 Code attribute exceptions (count = 0):
8517 8798 Code attribute attributes (attribute count = 1):
8518 8799 + Line number table attribute (count = 15)
8519   - [0] -> line 268
8520   - [52] -> line 270
8521   - [67] -> line 271
8522   - [70] -> line 273
8523   - [85] -> line 274
8524   - [88] -> line 276
8525   - [103] -> line 277
8526   - [106] -> line 279
8527   - [121] -> line 280
8528   - [124] -> line 282
8529   - [139] -> line 283
8530   - [142] -> line 285
8531   - [157] -> line 286
8532   - [160] -> line 288
8533   - [175] -> line 291
  8800 + [0] -> line 300
  8801 + [52] -> line 302
  8802 + [67] -> line 303
  8803 + [70] -> line 305
  8804 + [85] -> line 306
  8805 + [88] -> line 308
  8806 + [103] -> line 309
  8807 + [106] -> line 311
  8808 + [121] -> line 312
  8809 + [124] -> line 314
  8810 + [139] -> line 315
  8811 + [142] -> line 317
  8812 + [157] -> line 318
  8813 + [160] -> line 320
  8814 + [175] -> line 323
8534 8815  
8535 8816 Class file attributes (count = 3):
8536 8817 + Enclosing method attribute:
... ... @@ -8657,7 +8938,7 @@ Methods (count = 5):
8657 8938 Code attribute exceptions (count = 0):
8658 8939 Code attribute attributes (attribute count = 1):
8659 8940 + Line number table attribute (count = 1)
8660   - [0] -> line 302
  8941 + [0] -> line 334
8661 8942 + Method: onJoining(Ljava/lang/String;)V
8662 8943 Access flags: 0x1
8663 8944 = public void onJoining(java.lang.String)
... ... @@ -8675,8 +8956,8 @@ Methods (count = 5):
8675 8956 Code attribute exceptions (count = 0):
8676 8957 Code attribute attributes (attribute count = 1):
8677 8958 + Line number table attribute (count = 2)
8678   - [0] -> line 305
8679   - [13] -> line 306
  8959 + [0] -> line 337
  8960 + [13] -> line 338
8680 8961 + Method: onJoined(Ljava/lang/String;)V
8681 8962 Access flags: 0x1
8682 8963 = public void onJoined(java.lang.String)
... ... @@ -8694,8 +8975,8 @@ Methods (count = 5):
8694 8975 Code attribute exceptions (count = 0):
8695 8976 Code attribute attributes (attribute count = 1):
8696 8977 + Line number table attribute (count = 2)
8697   - [0] -> line 310
8698   - [13] -> line 311
  8978 + [0] -> line 342
  8979 + [13] -> line 343
8699 8980 + Method: onQuited(Ljava/lang/String;)V
8700 8981 Access flags: 0x1
8701 8982 = public void onQuited(java.lang.String)
... ... @@ -8713,8 +8994,8 @@ Methods (count = 5):
8713 8994 Code attribute exceptions (count = 0):
8714 8995 Code attribute attributes (attribute count = 1):
8715 8996 + Line number table attribute (count = 2)
8716   - [0] -> line 315
8717   - [13] -> line 316
  8997 + [0] -> line 347
  8998 + [13] -> line 348
8718 8999 + Method: onError(Ljava/lang/String;Lio/rong/imlib/RongIMClient$ErrorCode;)V
8719 9000 Access flags: 0x1
8720 9001 = public void onError(java.lang.String,io.rong.imlib.RongIMClient$ErrorCode)
... ... @@ -8738,8 +9019,8 @@ Methods (count = 5):
8738 9019 Code attribute exceptions (count = 0):
8739 9020 Code attribute attributes (attribute count = 1):
8740 9021 + Line number table attribute (count = 2)
8741   - [0] -> line 320
8742   - [21] -> line 321
  9022 + [0] -> line 352
  9023 + [21] -> line 353
8743 9024  
8744 9025 Class file attributes (count = 3):
8745 9026 + Enclosing method attribute:
... ... @@ -8847,7 +9128,7 @@ Methods (count = 2):
8847 9128 Code attribute exceptions (count = 0):
8848 9129 Code attribute attributes (attribute count = 1):
8849 9130 + Line number table attribute (count = 1)
8850   - [0] -> line 324
  9131 + [0] -> line 356
8851 9132 + Method: onReceived(Lio/rong/imlib/model/Message;I)Z
8852 9133 Access flags: 0x1
8853 9134 = public boolean onReceived(io.rong.imlib.model.Message,int)
... ... @@ -8871,8 +9152,8 @@ Methods (count = 2):
8871 9152 Code attribute exceptions (count = 0):
8872 9153 Code attribute attributes (attribute count = 1):
8873 9154 + Line number table attribute (count = 2)
8874   - [0] -> line 328
8875   - [20] -> line 329
  9155 + [0] -> line 360
  9156 + [20] -> line 361
8876 9157  
8877 9158 Class file attributes (count = 3):
8878 9159 + Enclosing method attribute:
... ... @@ -9019,7 +9300,7 @@ Methods (count = 4):
9019 9300 Code attribute exceptions (count = 0):
9020 9301 Code attribute attributes (attribute count = 1):
9021 9302 + Line number table attribute (count = 1)
9022   - [0] -> line 358
  9303 + [0] -> line 390
9023 9304 + Method: onSuccess(Ljava/util/List;)V
9024 9305 Access flags: 0x1
9025 9306 = public void onSuccess(java.util.List)
... ... @@ -9068,12 +9349,12 @@ Methods (count = 4):
9068 9349 Code attribute exceptions (count = 0):
9069 9350 Code attribute attributes (attribute count = 1):
9070 9351 + Line number table attribute (count = 6)
9071   - [0] -> line 361
9072   - [8] -> line 362
9073   - [35] -> line 363
9074   - [51] -> line 364
9075   - [54] -> line 365
9076   - [67] -> line 366
  9352 + [0] -> line 393
  9353 + [8] -> line 394
  9354 + [35] -> line 395
  9355 + [51] -> line 396
  9356 + [54] -> line 397
  9357 + [67] -> line 398
9077 9358 + Signature attribute:
9078 9359 + Utf8 [(Ljava/util/List<Lio/rong/imlib/model/Message;>;)V]
9079 9360 + Method: onError(Lio/rong/imlib/RongIMClient$ErrorCode;)V
... ... @@ -9098,8 +9379,8 @@ Methods (count = 4):
9098 9379 Code attribute exceptions (count = 0):
9099 9380 Code attribute attributes (attribute count = 1):
9100 9381 + Line number table attribute (count = 2)
9101   - [0] -> line 370
9102   - [20] -> line 371
  9382 + [0] -> line 402
  9383 + [20] -> line 403
9103 9384 + Method: onSuccess(Ljava/lang/Object;)V
9104 9385 Access flags: 0x1041
9105 9386 = public bridge synthetic void onSuccess(java.lang.Object)
... ... @@ -9115,7 +9396,7 @@ Methods (count = 4):
9115 9396 Code attribute exceptions (count = 0):
9116 9397 Code attribute attributes (attribute count = 1):
9117 9398 + Line number table attribute (count = 1)
9118   - [0] -> line 358
  9399 + [0] -> line 390
9119 9400  
9120 9401 Class file attributes (count = 4):
9121 9402 + Enclosing method attribute:
... ... @@ -9321,7 +9602,7 @@ Methods (count = 1):
9321 9602 + Class [java/lang/NoSuchFieldError]
9322 9603 Code attribute attributes (attribute count = 1):
9323 9604 + Line number table attribute (count = 1)
9324   - [0] -> line 268
  9605 + [0] -> line 300
9325 9606  
9326 9607 Class file attributes (count = 3):
9327 9608 + Enclosing method attribute:
... ... @@ -9448,7 +9729,7 @@ Methods (count = 5):
9448 9729 Code attribute exceptions (count = 0):
9449 9730 Code attribute attributes (attribute count = 1):
9450 9731 + Line number table attribute (count = 1)
9451   - [0] -> line 104
  9732 + [0] -> line 118
9452 9733 + Method: onTokenIncorrect()V
9453 9734 Access flags: 0x1
9454 9735 = public void onTokenIncorrect()
... ... @@ -9465,8 +9746,8 @@ Methods (count = 5):
9465 9746 Code attribute exceptions (count = 0):
9466 9747 Code attribute attributes (attribute count = 1):
9467 9748 + Line number table attribute (count = 2)
9468   - [0] -> line 108
9469   - [12] -> line 109
  9749 + [0] -> line 122
  9750 + [12] -> line 123
9470 9751 + Method: onSuccess(Ljava/lang/String;)V
9471 9752 Access flags: 0x1
9472 9753 = public void onSuccess(java.lang.String)
... ... @@ -9491,9 +9772,9 @@ Methods (count = 5):
9491 9772 Code attribute exceptions (count = 0):
9492 9773 Code attribute attributes (attribute count = 1):
9493 9774 + Line number table attribute (count = 3)
9494   - [0] -> line 114
9495   - [13] -> line 115
9496   - [23] -> line 116
  9775 + [0] -> line 128
  9776 + [13] -> line 129
  9777 + [23] -> line 130
9497 9778 + Method: onError(Lio/rong/imlib/RongIMClient$ErrorCode;)V
9498 9779 Access flags: 0x1
9499 9780 = public void onError(io.rong.imlib.RongIMClient$ErrorCode)
... ... @@ -9516,8 +9797,8 @@ Methods (count = 5):
9516 9797 Code attribute exceptions (count = 0):
9517 9798 Code attribute attributes (attribute count = 1):
9518 9799 + Line number table attribute (count = 2)
9519   - [0] -> line 121
9520   - [20] -> line 122
  9800 + [0] -> line 135
  9801 + [20] -> line 136
9521 9802 + Method: onSuccess(Ljava/lang/Object;)V
9522 9803 Access flags: 0x1041
9523 9804 = public bridge synthetic void onSuccess(java.lang.Object)
... ... @@ -9533,7 +9814,7 @@ Methods (count = 5):
9533 9814 Code attribute exceptions (count = 0):
9534 9815 Code attribute attributes (attribute count = 1):
9535 9816 + Line number table attribute (count = 1)
9536   - [0] -> line 104
  9817 + [0] -> line 118
9537 9818  
9538 9819 Class file attributes (count = 3):
9539 9820 + Enclosing method attribute:
... ... @@ -9654,7 +9935,7 @@ Methods (count = 3):
9654 9935 Code attribute exceptions (count = 0):
9655 9936 Code attribute attributes (attribute count = 1):
9656 9937 + Line number table attribute (count = 1)
9657   - [0] -> line 135
  9938 + [0] -> line 150
9658 9939 + Method: onSuccess()V
9659 9940 Access flags: 0x1
9660 9941 = public void onSuccess()
... ... @@ -9675,8 +9956,8 @@ Methods (count = 3):
9675 9956 Code attribute exceptions (count = 0):
9676 9957 Code attribute attributes (attribute count = 1):
9677 9958 + Line number table attribute (count = 2)
9678   - [0] -> line 139
9679   - [16] -> line 140
  9959 + [0] -> line 154
  9960 + [16] -> line 155
9680 9961 + Method: onError(Lio/rong/imlib/RongIMClient$ErrorCode;)V
9681 9962 Access flags: 0x1
9682 9963 = public void onError(io.rong.imlib.RongIMClient$ErrorCode)
... ... @@ -9699,8 +9980,8 @@ Methods (count = 3):
9699 9980 Code attribute exceptions (count = 0):
9700 9981 Code attribute attributes (attribute count = 1):
9701 9982 + Line number table attribute (count = 2)
9702   - [0] -> line 145
9703   - [20] -> line 146
  9983 + [0] -> line 160
  9984 + [20] -> line 161
9704 9985  
9705 9986 Class file attributes (count = 3):
9706 9987 + Enclosing method attribute:
... ... @@ -9821,7 +10102,7 @@ Methods (count = 3):
9821 10102 Code attribute exceptions (count = 0):
9822 10103 Code attribute attributes (attribute count = 1):
9823 10104 + Line number table attribute (count = 1)
9824   - [0] -> line 153
  10105 + [0] -> line 170
9825 10106 + Method: onSuccess()V
9826 10107 Access flags: 0x1
9827 10108 = public void onSuccess()
... ... @@ -9842,8 +10123,8 @@ Methods (count = 3):
9842 10123 Code attribute exceptions (count = 0):
9843 10124 Code attribute attributes (attribute count = 1):
9844 10125 + Line number table attribute (count = 2)
9845   - [0] -> line 156
9846   - [16] -> line 157
  10126 + [0] -> line 173
  10127 + [16] -> line 174
9847 10128 + Method: onError(Lio/rong/imlib/RongIMClient$ErrorCode;)V
9848 10129 Access flags: 0x1
9849 10130 = public void onError(io.rong.imlib.RongIMClient$ErrorCode)
... ... @@ -9866,8 +10147,8 @@ Methods (count = 3):
9866 10147 Code attribute exceptions (count = 0):
9867 10148 Code attribute attributes (attribute count = 1):
9868 10149 + Line number table attribute (count = 2)
9869   - [0] -> line 161
9870   - [20] -> line 162
  10150 + [0] -> line 178
  10151 + [20] -> line 179
9871 10152  
9872 10153 Class file attributes (count = 3):
9873 10154 + Enclosing method attribute:
... ... @@ -9906,7 +10187,7 @@ _____________________________________________________________________
9906 10187  
9907 10188 Interfaces (count = 0):
9908 10189  
9909   -Constant Pool (count = 58):
  10190 +Constant Pool (count = 59):
9910 10191 + Integer [100004]
9911 10192 + String [???????]
9912 10193 + Class [io/rong/imlib/Chat]
... ... @@ -9929,7 +10210,7 @@ Constant Pool (count = 58):
9929 10210 + NameAndType [getValue ()I]
9930 10211 + NameAndType [onError (ILjava/lang/String;)V]
9931 10212 + NameAndType [onSuccess (ILjava/lang/String;)V]
9932   - + NameAndType [quitChatRoom ()V]
  10213 + + NameAndType [quitChatRoom (Ljava/lang/String;)V]
9933 10214 + NameAndType [this$0 Lio/rong/imlib/Chat;]
9934 10215 + Utf8 [()I]
9935 10216 + Utf8 [()Ljava/lang/String;]
... ... @@ -9938,6 +10219,7 @@ Constant Pool (count = 58):
9938 10219 + Utf8 [(Lio/rong/imlib/Chat;)Lio/rong/imlib/base/IChat$OnOperationListener;]
9939 10220 + Utf8 [(Lio/rong/imlib/Chat;)V]
9940 10221 + Utf8 [(Lio/rong/imlib/RongIMClient$ErrorCode;)V]
  10222 + + Utf8 [(Ljava/lang/String;)V]
9941 10223 + Utf8 [<init>]
9942 10224 + Utf8 [Chat.java]
9943 10225 + Utf8 [Code]
... ... @@ -9987,7 +10269,7 @@ Methods (count = 3):
9987 10269 Code attribute exceptions (count = 0):
9988 10270 Code attribute attributes (attribute count = 1):
9989 10271 + Line number table attribute (count = 1)
9990   - [0] -> line 168
  10272 + [0] -> line 190
9991 10273 + Method: onSuccess()V
9992 10274 Access flags: 0x1
9993 10275 = public void onSuccess()
... ... @@ -10008,8 +10290,8 @@ Methods (count = 3):
10008 10290 Code attribute exceptions (count = 0):
10009 10291 Code attribute attributes (attribute count = 1):
10010 10292 + Line number table attribute (count = 2)
10011   - [0] -> line 172
10012   - [16] -> line 173
  10293 + [0] -> line 194
  10294 + [16] -> line 195
10013 10295 + Method: onError(Lio/rong/imlib/RongIMClient$ErrorCode;)V
10014 10296 Access flags: 0x1
10015 10297 = public void onError(io.rong.imlib.RongIMClient$ErrorCode)
... ... @@ -10032,13 +10314,13 @@ Methods (count = 3):
10032 10314 Code attribute exceptions (count = 0):
10033 10315 Code attribute attributes (attribute count = 1):
10034 10316 + Line number table attribute (count = 2)
10035   - [0] -> line 178
10036   - [20] -> line 179
  10317 + [0] -> line 200
  10318 + [20] -> line 201
10037 10319  
10038 10320 Class file attributes (count = 3):
10039 10321 + Enclosing method attribute:
10040 10322 + Class [io/rong/imlib/Chat]
10041   - + NameAndType [quitChatRoom ()V]
  10323 + + NameAndType [quitChatRoom (Ljava/lang/String;)V]
10042 10324 + Inner classes attribute (count = 4)
10043 10325 - InnerClassesInfo:
10044 10326 Access flags: 0x0 =
... ... @@ -10095,18 +10377,18 @@ Constant Pool (count = 61):
10095 10377 + NameAndType [getValue ()I]
10096 10378 + NameAndType [onError (Ljava/lang/Integer;ILjava/lang/String;)V]
10097 10379 + NameAndType [onSuccess (Ljava/lang/Integer;)V]
10098   - + NameAndType [sendChatRoomMessage (Lio/rong/imlib/model/MessageContent;)V]
  10380 + + NameAndType [sendChatRoomMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
10099 10381 + NameAndType [this$0 Lio/rong/imlib/Chat;]
10100 10382 + Utf8 [()I]
10101 10383 + Utf8 [()Ljava/lang/String;]
10102 10384 + Utf8 [()V]
10103 10385 + Utf8 [(Lio/rong/imlib/Chat;)Lio/rong/imlib/base/IChat$OnSendMessageListener;]
10104 10386 + Utf8 [(Lio/rong/imlib/Chat;)V]
10105   - + Utf8 [(Lio/rong/imlib/model/MessageContent;)V]
10106 10387 + Utf8 [(Ljava/lang/Integer;)V]
10107 10388 + Utf8 [(Ljava/lang/Integer;ILjava/lang/String;)V]
10108 10389 + Utf8 [(Ljava/lang/Integer;Lio/rong/imlib/RongIMClient$ErrorCode;)V]
10109 10390 + Utf8 [(Ljava/lang/Object;)V]
  10391 + + Utf8 [(Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
10110 10392 + Utf8 [<init>]
10111 10393 + Utf8 [Chat.java]
10112 10394 + Utf8 [Code]
... ... @@ -10156,7 +10438,7 @@ Methods (count = 4):
10156 10438 Code attribute exceptions (count = 0):
10157 10439 Code attribute attributes (attribute count = 1):
10158 10440 + Line number table attribute (count = 1)
10159   - [0] -> line 196
  10441 + [0] -> line 229
10160 10442 + Method: onError(Ljava/lang/Integer;Lio/rong/imlib/RongIMClient$ErrorCode;)V
10161 10443 Access flags: 0x1
10162 10444 = public void onError(java.lang.Integer,io.rong.imlib.RongIMClient$ErrorCode)
... ... @@ -10180,8 +10462,8 @@ Methods (count = 4):
10180 10462 Code attribute exceptions (count = 0):
10181 10463 Code attribute attributes (attribute count = 1):
10182 10464 + Line number table attribute (count = 2)
10183   - [0] -> line 200
10184   - [21] -> line 201
  10465 + [0] -> line 233
  10466 + [21] -> line 234
10185 10467 + Method: onSuccess(Ljava/lang/Integer;)V
10186 10468 Access flags: 0x1
10187 10469 = public void onSuccess(java.lang.Integer)
... ... @@ -10199,8 +10481,8 @@ Methods (count = 4):
10199 10481 Code attribute exceptions (count = 0):
10200 10482 Code attribute attributes (attribute count = 1):
10201 10483 + Line number table attribute (count = 2)
10202   - [0] -> line 206
10203   - [13] -> line 207
  10484 + [0] -> line 239
  10485 + [13] -> line 240
10204 10486 + Method: onSuccess(Ljava/lang/Object;)V
10205 10487 Access flags: 0x1041
10206 10488 = public bridge synthetic void onSuccess(java.lang.Object)
... ... @@ -10216,12 +10498,12 @@ Methods (count = 4):
10216 10498 Code attribute exceptions (count = 0):
10217 10499 Code attribute attributes (attribute count = 1):
10218 10500 + Line number table attribute (count = 1)
10219   - [0] -> line 196
  10501 + [0] -> line 229
10220 10502  
10221 10503 Class file attributes (count = 3):
10222 10504 + Enclosing method attribute:
10223 10505 + Class [io/rong/imlib/Chat]
10224   - + NameAndType [sendChatRoomMessage (Lio/rong/imlib/model/MessageContent;)V]
  10506 + + NameAndType [sendChatRoomMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
10225 10507 + Inner classes attribute (count = 4)
10226 10508 - InnerClassesInfo:
10227 10509 Access flags: 0x0 =
... ... @@ -10281,7 +10563,7 @@ Constant Pool (count = 69):
10281 10563 + NameAndType [onError (ILjava/lang/String;)V]
10282 10564 + NameAndType [onSuccess (Lio/rong/imlib/model/CNMessage;)V]
10283 10565 + NameAndType [onSuccess (Lio/rong/imlib/model/Message;)V]
10284   - + NameAndType [sendChatRoomMessage (Lio/rong/imlib/model/MessageContent;)V]
  10566 + + NameAndType [sendChatRoomMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
10285 10567 + NameAndType [this$0 Lio/rong/imlib/Chat;]
10286 10568 + Utf8 [()I]
10287 10569 + Utf8 [()Ljava/lang/String;]
... ... @@ -10293,8 +10575,8 @@ Constant Pool (count = 69):
10293 10575 + Utf8 [(Lio/rong/imlib/RongIMClient$ErrorCode;)V]
10294 10576 + Utf8 [(Lio/rong/imlib/model/CNMessage;)V]
10295 10577 + Utf8 [(Lio/rong/imlib/model/Message;)V]
10296   - + Utf8 [(Lio/rong/imlib/model/MessageContent;)V]
10297 10578 + Utf8 [(Ljava/lang/Object;)V]
  10579 + + Utf8 [(Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
10298 10580 + Utf8 [<init>]
10299 10581 + Utf8 [Chat.java]
10300 10582 + Utf8 [Code]
... ... @@ -10347,7 +10629,7 @@ Methods (count = 4):
10347 10629 Code attribute exceptions (count = 0):
10348 10630 Code attribute attributes (attribute count = 1):
10349 10631 + Line number table attribute (count = 1)
10350   - [0] -> line 208
  10632 + [0] -> line 241
10351 10633 + Method: onSuccess(Lio/rong/imlib/model/Message;)V
10352 10634 Access flags: 0x1
10353 10635 = public void onSuccess(io.rong.imlib.model.Message)
... ... @@ -10370,8 +10652,8 @@ Methods (count = 4):
10370 10652 Code attribute exceptions (count = 0):
10371 10653 Code attribute attributes (attribute count = 1):
10372 10654 + Line number table attribute (count = 2)
10373   - [0] -> line 211
10374   - [20] -> line 212
  10655 + [0] -> line 245
  10656 + [20] -> line 246
10375 10657 + Method: onError(Lio/rong/imlib/RongIMClient$ErrorCode;)V
10376 10658 Access flags: 0x1
10377 10659 = public void onError(io.rong.imlib.RongIMClient$ErrorCode)
... ... @@ -10394,8 +10676,8 @@ Methods (count = 4):
10394 10676 Code attribute exceptions (count = 0):
10395 10677 Code attribute attributes (attribute count = 1):
10396 10678 + Line number table attribute (count = 2)
10397   - [0] -> line 217
10398   - [20] -> line 218
  10679 + [0] -> line 251
  10680 + [20] -> line 252
10399 10681 + Method: onSuccess(Ljava/lang/Object;)V
10400 10682 Access flags: 0x1041
10401 10683 = public bridge synthetic void onSuccess(java.lang.Object)
... ... @@ -10411,12 +10693,12 @@ Methods (count = 4):
10411 10693 Code attribute exceptions (count = 0):
10412 10694 Code attribute attributes (attribute count = 1):
10413 10695 + Line number table attribute (count = 1)
10414   - [0] -> line 208
  10696 + [0] -> line 241
10415 10697  
10416 10698 Class file attributes (count = 4):
10417 10699 + Enclosing method attribute:
10418 10700 + Class [io/rong/imlib/Chat]
10419   - + NameAndType [sendChatRoomMessage (Lio/rong/imlib/model/MessageContent;)V]
  10701 + + NameAndType [sendChatRoomMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
10420 10702 + Inner classes attribute (count = 4)
10421 10703 - InnerClassesInfo:
10422 10704 Access flags: 0x0 =
... ... @@ -10475,7 +10757,7 @@ Constant Pool (count = 61):
10475 10757 + NameAndType [getValue ()I]
10476 10758 + NameAndType [onError (Ljava/lang/Integer;ILjava/lang/String;)V]
10477 10759 + NameAndType [onSuccess (Ljava/lang/Integer;)V]
10478   - + NameAndType [sendPrivateMessage (Ljava/lang/String;Ljava/lang/String;)V]
  10760 + + NameAndType [sendPrivateMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
10479 10761 + NameAndType [this$0 Lio/rong/imlib/Chat;]
10480 10762 + Utf8 [()I]
10481 10763 + Utf8 [()Ljava/lang/String;]
... ... @@ -10486,7 +10768,7 @@ Constant Pool (count = 61):
10486 10768 + Utf8 [(Ljava/lang/Integer;ILjava/lang/String;)V]
10487 10769 + Utf8 [(Ljava/lang/Integer;Lio/rong/imlib/RongIMClient$ErrorCode;)V]
10488 10770 + Utf8 [(Ljava/lang/Object;)V]
10489   - + Utf8 [(Ljava/lang/String;Ljava/lang/String;)V]
  10771 + + Utf8 [(Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
10490 10772 + Utf8 [<init>]
10491 10773 + Utf8 [Chat.java]
10492 10774 + Utf8 [Code]
... ... @@ -10536,7 +10818,7 @@ Methods (count = 4):
10536 10818 Code attribute exceptions (count = 0):
10537 10819 Code attribute attributes (attribute count = 1):
10538 10820 + Line number table attribute (count = 1)
10539   - [0] -> line 233
  10821 + [0] -> line 265
10540 10822 + Method: onError(Ljava/lang/Integer;Lio/rong/imlib/RongIMClient$ErrorCode;)V
10541 10823 Access flags: 0x1
10542 10824 = public void onError(java.lang.Integer,io.rong.imlib.RongIMClient$ErrorCode)
... ... @@ -10560,8 +10842,8 @@ Methods (count = 4):
10560 10842 Code attribute exceptions (count = 0):
10561 10843 Code attribute attributes (attribute count = 1):
10562 10844 + Line number table attribute (count = 2)
10563   - [0] -> line 237
10564   - [21] -> line 238
  10845 + [0] -> line 269
  10846 + [21] -> line 270
10565 10847 + Method: onSuccess(Ljava/lang/Integer;)V
10566 10848 Access flags: 0x1
10567 10849 = public void onSuccess(java.lang.Integer)
... ... @@ -10579,8 +10861,8 @@ Methods (count = 4):
10579 10861 Code attribute exceptions (count = 0):
10580 10862 Code attribute attributes (attribute count = 1):
10581 10863 + Line number table attribute (count = 2)
10582   - [0] -> line 243
10583   - [13] -> line 244
  10864 + [0] -> line 275
  10865 + [13] -> line 276
10584 10866 + Method: onSuccess(Ljava/lang/Object;)V
10585 10867 Access flags: 0x1041
10586 10868 = public bridge synthetic void onSuccess(java.lang.Object)
... ... @@ -10596,12 +10878,12 @@ Methods (count = 4):
10596 10878 Code attribute exceptions (count = 0):
10597 10879 Code attribute attributes (attribute count = 1):
10598 10880 + Line number table attribute (count = 1)
10599   - [0] -> line 233
  10881 + [0] -> line 265
10600 10882  
10601 10883 Class file attributes (count = 3):
10602 10884 + Enclosing method attribute:
10603 10885 + Class [io/rong/imlib/Chat]
10604   - + NameAndType [sendPrivateMessage (Ljava/lang/String;Ljava/lang/String;)V]
  10886 + + NameAndType [sendPrivateMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
10605 10887 + Inner classes attribute (count = 4)
10606 10888 - InnerClassesInfo:
10607 10889 Access flags: 0x0 =
... ... @@ -10661,7 +10943,7 @@ Constant Pool (count = 69):
10661 10943 + NameAndType [onError (ILjava/lang/String;)V]
10662 10944 + NameAndType [onSuccess (Lio/rong/imlib/model/CNMessage;)V]
10663 10945 + NameAndType [onSuccess (Lio/rong/imlib/model/Message;)V]
10664   - + NameAndType [sendPrivateMessage (Ljava/lang/String;Ljava/lang/String;)V]
  10946 + + NameAndType [sendPrivateMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
10665 10947 + NameAndType [this$0 Lio/rong/imlib/Chat;]
10666 10948 + Utf8 [()I]
10667 10949 + Utf8 [()Ljava/lang/String;]
... ... @@ -10674,7 +10956,7 @@ Constant Pool (count = 69):
10674 10956 + Utf8 [(Lio/rong/imlib/model/CNMessage;)V]
10675 10957 + Utf8 [(Lio/rong/imlib/model/Message;)V]
10676 10958 + Utf8 [(Ljava/lang/Object;)V]
10677   - + Utf8 [(Ljava/lang/String;Ljava/lang/String;)V]
  10959 + + Utf8 [(Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
10678 10960 + Utf8 [<init>]
10679 10961 + Utf8 [Chat.java]
10680 10962 + Utf8 [Code]
... ... @@ -10727,7 +11009,7 @@ Methods (count = 4):
10727 11009 Code attribute exceptions (count = 0):
10728 11010 Code attribute attributes (attribute count = 1):
10729 11011 + Line number table attribute (count = 1)
10730   - [0] -> line 245
  11012 + [0] -> line 277
10731 11013 + Method: onSuccess(Lio/rong/imlib/model/Message;)V
10732 11014 Access flags: 0x1
10733 11015 = public void onSuccess(io.rong.imlib.model.Message)
... ... @@ -10750,8 +11032,8 @@ Methods (count = 4):
10750 11032 Code attribute exceptions (count = 0):
10751 11033 Code attribute attributes (attribute count = 1):
10752 11034 + Line number table attribute (count = 2)
10753   - [0] -> line 249
10754   - [20] -> line 250
  11035 + [0] -> line 281
  11036 + [20] -> line 282
10755 11037 + Method: onError(Lio/rong/imlib/RongIMClient$ErrorCode;)V
10756 11038 Access flags: 0x1
10757 11039 = public void onError(io.rong.imlib.RongIMClient$ErrorCode)
... ... @@ -10774,8 +11056,8 @@ Methods (count = 4):
10774 11056 Code attribute exceptions (count = 0):
10775 11057 Code attribute attributes (attribute count = 1):
10776 11058 + Line number table attribute (count = 2)
10777   - [0] -> line 255
10778   - [20] -> line 256
  11059 + [0] -> line 287
  11060 + [20] -> line 288
10779 11061 + Method: onSuccess(Ljava/lang/Object;)V
10780 11062 Access flags: 0x1041
10781 11063 = public bridge synthetic void onSuccess(java.lang.Object)
... ... @@ -10791,12 +11073,12 @@ Methods (count = 4):
10791 11073 Code attribute exceptions (count = 0):
10792 11074 Code attribute attributes (attribute count = 1):
10793 11075 + Line number table attribute (count = 1)
10794   - [0] -> line 245
  11076 + [0] -> line 277
10795 11077  
10796 11078 Class file attributes (count = 4):
10797 11079 + Enclosing method attribute:
10798 11080 + Class [io/rong/imlib/Chat]
10799   - + NameAndType [sendPrivateMessage (Ljava/lang/String;Ljava/lang/String;)V]
  11081 + + NameAndType [sendPrivateMessage (Ljava/lang/String;Lio/rong/imlib/model/MessageContent;)V]
10800 11082 + Inner classes attribute (count = 4)
10801 11083 - InnerClassesInfo:
10802 11084 Access flags: 0x0 =
... ... @@ -10832,7 +11114,7 @@ _____________________________________________________________________
10832 11114  
10833 11115 Interfaces (count = 0):
10834 11116  
10835   -Constant Pool (count = 115):
  11117 +Constant Pool (count = 112):
10836 11118 + Class [io/rong/imlib/Chat]
10837 11119 + Class [io/rong/imlib/ChatUtil]
10838 11120 + Class [io/rong/imlib/base/IChat]
... ... @@ -10845,17 +11127,16 @@ Constant Pool (count = 115):
10845 11127 + Class [io/rong/imlib/base/IChat$OnResultListener]
10846 11128 + Class [io/rong/imlib/base/IChat$OnSendMessageListener]
10847 11129 + Class [java/lang/Object]
10848   - + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
10849 11130 + Methodref [io/rong/imlib/Chat.connect (Lio/rong/imlib/model/CNUserInfo;)V]
10850   - + Methodref [io/rong/imlib/Chat.connect (Ljava/lang/String;)V]
10851 11131 + Methodref [io/rong/imlib/Chat.disconnect (Z)V]
  11132 + + Methodref [io/rong/imlib/Chat.exchangeUser (Lio/rong/imlib/model/CNUserInfo;)V]
10852 11133 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
10853 11134 + Methodref [io/rong/imlib/Chat.getLatestMessages (Ljava/lang/String;I)V]
10854   - + Methodref [io/rong/imlib/Chat.init (Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V]
  11135 + + Methodref [io/rong/imlib/Chat.init (Landroid/content/Context;)V]
10855 11136 + Methodref [io/rong/imlib/Chat.joinExistChatRoom (Ljava/lang/String;I)V]
10856   - + Methodref [io/rong/imlib/Chat.quitChatRoom ()V]
10857   - + Methodref [io/rong/imlib/Chat.sendChatRoomMessage (Ljava/lang/String;)V]
10858   - + Methodref [io/rong/imlib/Chat.sendPrivateMessage (Ljava/lang/String;Ljava/lang/String;)V]
  11137 + + Methodref [io/rong/imlib/Chat.modifyUser (Ljava/lang/String;Ljava/lang/String;)V]
  11138 + + Methodref [io/rong/imlib/Chat.quitChatRoom (Ljava/lang/String;)V]
  11139 + + Methodref [io/rong/imlib/Chat.sendMessage (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V]
10859 11140 + Methodref [io/rong/imlib/Chat.setConnectStatusListener (Lio/rong/imlib/base/IChat$OnConnectStatusListener;)V]
10860 11141 + Methodref [io/rong/imlib/Chat.setOnChatRoomActionListener (Lio/rong/imlib/base/IChat$OnChatRoomActionListener;)V]
10861 11142 + Methodref [io/rong/imlib/Chat.setOnConnectionListener (Lio/rong/imlib/base/IChat$OnConnectListener;)V]
... ... @@ -10867,16 +11148,15 @@ Constant Pool (count = 115):
10867 11148 + Methodref [java/lang/Object.<init> ()V]
10868 11149 + NameAndType [<init> ()V]
10869 11150 + NameAndType [connect (Lio/rong/imlib/model/CNUserInfo;)V]
10870   - + NameAndType [connect (Ljava/lang/String;)V]
10871   - + NameAndType [currentUser Lio/rong/imlib/model/UserInfo;]
10872 11151 + NameAndType [disconnect (Z)V]
  11152 + + NameAndType [exchangeUser (Lio/rong/imlib/model/CNUserInfo;)V]
10873 11153 + NameAndType [getInstance ()Lio/rong/imlib/Chat;]
10874 11154 + NameAndType [getLatestMessages (Ljava/lang/String;I)V]
10875   - + NameAndType [init (Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V]
  11155 + + NameAndType [init (Landroid/content/Context;)V]
10876 11156 + NameAndType [joinExistChatRoom (Ljava/lang/String;I)V]
10877   - + NameAndType [quitChatRoom ()V]
10878   - + NameAndType [sendChatRoomMessage (Ljava/lang/String;)V]
10879   - + NameAndType [sendPrivateMessage (Ljava/lang/String;Ljava/lang/String;)V]
  11157 + + NameAndType [modifyUser (Ljava/lang/String;Ljava/lang/String;)V]
  11158 + + NameAndType [quitChatRoom (Ljava/lang/String;)V]
  11159 + + NameAndType [sendMessage (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V]
10880 11160 + NameAndType [setConnectStatusListener (Lio/rong/imlib/base/IChat$OnConnectStatusListener;)V]
10881 11161 + NameAndType [setOnChatRoomActionListener (Lio/rong/imlib/base/IChat$OnChatRoomActionListener;)V]
10882 11162 + NameAndType [setOnConnectionListener (Lio/rong/imlib/base/IChat$OnConnectListener;)V]
... ... @@ -10886,9 +11166,8 @@ Constant Pool (count = 115):
10886 11166 + NameAndType [setOnResultListener (Lio/rong/imlib/base/IChat$OnResultListener;)V]
10887 11167 + NameAndType [setOnSendMessageListener (Lio/rong/imlib/base/IChat$OnSendMessageListener;)V]
10888 11168 + Utf8 [()Lio/rong/imlib/Chat;]
10889   - + Utf8 [()Lio/rong/imlib/model/UserInfo;]
10890 11169 + Utf8 [()V]
10891   - + Utf8 [(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V]
  11170 + + Utf8 [(Landroid/content/Context;)V]
10892 11171 + Utf8 [(Lio/rong/imlib/base/IChat$OnChatRoomActionListener;)V]
10893 11172 + Utf8 [(Lio/rong/imlib/base/IChat$OnConnectListener;)V]
10894 11173 + Utf8 [(Lio/rong/imlib/base/IChat$OnConnectStatusListener;)V]
... ... @@ -10901,13 +11180,13 @@ Constant Pool (count = 115):
10901 11180 + Utf8 [(Ljava/lang/String;)V]
10902 11181 + Utf8 [(Ljava/lang/String;I)V]
10903 11182 + Utf8 [(Ljava/lang/String;Ljava/lang/String;)V]
  11183 + + Utf8 [(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V]
10904 11184 + Utf8 [(Z)V]
10905 11185 + Utf8 [<init>]
10906 11186 + Utf8 [ChatUtil.java]
10907 11187 + Utf8 [Code]
10908 11188 + Utf8 [InnerClasses]
10909 11189 + Utf8 [LineNumberTable]
10910   - + Utf8 [Lio/rong/imlib/model/UserInfo;]
10911 11190 + Utf8 [OnChatRoomActionListener]
10912 11191 + Utf8 [OnConnectListener]
10913 11192 + Utf8 [OnConnectStatusListener]
... ... @@ -10918,8 +11197,8 @@ Constant Pool (count = 115):
10918 11197 + Utf8 [OnSendMessageListener]
10919 11198 + Utf8 [SourceFile]
10920 11199 + Utf8 [connect]
10921   - + Utf8 [currentUser]
10922 11200 + Utf8 [disconnect]
  11201 + + Utf8 [exchangeUser]
10923 11202 + Utf8 [getInstance]
10924 11203 + Utf8 [getLatestMessages]
10925 11204 + Utf8 [init]
... ... @@ -10936,9 +11215,9 @@ Constant Pool (count = 115):
10936 11215 + Utf8 [io/rong/imlib/base/IChat$OnSendMessageListener]
10937 11216 + Utf8 [java/lang/Object]
10938 11217 + Utf8 [joinExistChatRoom]
  11218 + + Utf8 [modifyUser]
10939 11219 + Utf8 [quitChatRoom]
10940   - + Utf8 [sendChatRoomMessage]
10941   - + Utf8 [sendPrivateMessage]
  11220 + + Utf8 [sendMessage]
10942 11221 + Utf8 [setConnectStatusListener]
10943 11222 + Utf8 [setOnChatRoomActionListener]
10944 11223 + Utf8 [setOnConnectionListener]
... ... @@ -10950,311 +11229,297 @@ Constant Pool (count = 115):
10950 11229  
10951 11230 Fields (count = 0):
10952 11231  
10953   -Methods (count = 19):
  11232 +Methods (count = 18):
10954 11233 - Method: <init>()V
10955 11234 Access flags: 0x1
10956 11235 = public ChatUtil()
10957 11236 Class member attributes (count = 1):
10958 11237 + Code attribute instructions (code length = 5, locals = 1, stack = 1):
10959 11238 [0] aload_0 v0
10960   - [1] invokespecial #32
  11239 + [1] invokespecial #31
10961 11240 + Methodref [java/lang/Object.<init> ()V]
10962 11241 [4] return
10963 11242 Code attribute exceptions (count = 0):
10964 11243 Code attribute attributes (attribute count = 1):
10965 11244 + Line number table attribute (count = 1)
10966 11245 [0] -> line 13
10967   - + Method: init(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
10968   - Access flags: 0x9
10969   - = public static void init(android.content.Context,java.lang.String,java.lang.String)
10970   - Class member attributes (count = 1):
10971   - + Code attribute instructions (code length = 10, locals = 3, stack = 4):
10972   - [0] invokestatic #17
10973   - + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
10974   - [3] aload_0 v0
10975   - [4] aload_1 v1
10976   - [5] aload_2 v2
10977   - [6] invokevirtual #19
10978   - + Methodref [io/rong/imlib/Chat.init (Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V]
10979   - [9] return
10980   - Code attribute exceptions (count = 0):
10981   - Code attribute attributes (attribute count = 1):
10982   - + Line number table attribute (count = 2)
10983   - [0] -> line 15
10984   - [9] -> line 16
10985   - + Method: connect(Ljava/lang/String;)V
  11246 + + Method: init(Landroid/content/Context;)V
10986 11247 Access flags: 0x9
10987   - = public static void connect(java.lang.String)
  11248 + = public static void init(android.content.Context)
10988 11249 Class member attributes (count = 1):
10989 11250 + Code attribute instructions (code length = 8, locals = 1, stack = 2):
10990   - [0] invokestatic #17
  11251 + [0] invokestatic #16
10991 11252 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
10992 11253 [3] aload_0 v0
10993   - [4] invokevirtual #15
10994   - + Methodref [io/rong/imlib/Chat.connect (Ljava/lang/String;)V]
  11254 + [4] invokevirtual #18
  11255 + + Methodref [io/rong/imlib/Chat.init (Landroid/content/Context;)V]
10995 11256 [7] return
10996 11257 Code attribute exceptions (count = 0):
10997 11258 Code attribute attributes (attribute count = 1):
10998 11259 + Line number table attribute (count = 2)
10999   - [0] -> line 19
11000   - [7] -> line 20
  11260 + [0] -> line 15
  11261 + [7] -> line 16
11001 11262 + Method: connect(Lio/rong/imlib/model/CNUserInfo;)V
11002 11263 Access flags: 0x9
11003 11264 = public static void connect(io.rong.imlib.model.CNUserInfo)
11004 11265 Class member attributes (count = 1):
11005 11266 + Code attribute instructions (code length = 8, locals = 1, stack = 2):
11006   - [0] invokestatic #17
  11267 + [0] invokestatic #16
11007 11268 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11008 11269 [3] aload_0 v0
11009   - [4] invokevirtual #14
  11270 + [4] invokevirtual #13
11010 11271 + Methodref [io/rong/imlib/Chat.connect (Lio/rong/imlib/model/CNUserInfo;)V]
11011 11272 [7] return
11012 11273 Code attribute exceptions (count = 0):
11013 11274 Code attribute attributes (attribute count = 1):
11014 11275 + Line number table attribute (count = 2)
11015   - [0] -> line 23
11016   - [7] -> line 24
  11276 + [0] -> line 19
  11277 + [7] -> line 20
11017 11278 + Method: disconnect(Z)V
11018 11279 Access flags: 0x9
11019 11280 = public static void disconnect(boolean)
11020 11281 Class member attributes (count = 1):
11021 11282 + Code attribute instructions (code length = 8, locals = 1, stack = 2):
11022   - [0] invokestatic #17
  11283 + [0] invokestatic #16
11023 11284 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11024 11285 [3] iload_0 v0
11025   - [4] invokevirtual #16
  11286 + [4] invokevirtual #14
11026 11287 + Methodref [io/rong/imlib/Chat.disconnect (Z)V]
11027 11288 [7] return
11028 11289 Code attribute exceptions (count = 0):
11029 11290 Code attribute attributes (attribute count = 1):
11030 11291 + Line number table attribute (count = 2)
11031   - [0] -> line 27
11032   - [7] -> line 28
  11292 + [0] -> line 23
  11293 + [7] -> line 24
11033 11294 + Method: joinExistChatRoom(Ljava/lang/String;I)V
11034 11295 Access flags: 0x9
11035 11296 = public static void joinExistChatRoom(java.lang.String,int)
11036 11297 Class member attributes (count = 1):
11037 11298 + Code attribute instructions (code length = 9, locals = 2, stack = 3):
11038   - [0] invokestatic #17
  11299 + [0] invokestatic #16
11039 11300 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11040 11301 [3] aload_0 v0
11041 11302 [4] iload_1 v1
11042   - [5] invokevirtual #20
  11303 + [5] invokevirtual #19
11043 11304 + Methodref [io/rong/imlib/Chat.joinExistChatRoom (Ljava/lang/String;I)V]
11044 11305 [8] return
11045 11306 Code attribute exceptions (count = 0):
11046 11307 Code attribute attributes (attribute count = 1):
11047 11308 + Line number table attribute (count = 2)
11048   - [0] -> line 31
11049   - [8] -> line 32
11050   - + Method: quitChatRoom()V
  11309 + [0] -> line 27
  11310 + [8] -> line 28
  11311 + + Method: quitChatRoom(Ljava/lang/String;)V
11051 11312 Access flags: 0x9
11052   - = public static void quitChatRoom()
  11313 + = public static void quitChatRoom(java.lang.String)
11053 11314 Class member attributes (count = 1):
11054   - + Code attribute instructions (code length = 7, locals = 0, stack = 1):
11055   - [0] invokestatic #17
  11315 + + Code attribute instructions (code length = 8, locals = 1, stack = 2):
  11316 + [0] invokestatic #16
11056 11317 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11057   - [3] invokevirtual #21
11058   - + Methodref [io/rong/imlib/Chat.quitChatRoom ()V]
11059   - [6] return
  11318 + [3] aload_0 v0
  11319 + [4] invokevirtual #21
  11320 + + Methodref [io/rong/imlib/Chat.quitChatRoom (Ljava/lang/String;)V]
  11321 + [7] return
11060 11322 Code attribute exceptions (count = 0):
11061 11323 Code attribute attributes (attribute count = 1):
11062 11324 + Line number table attribute (count = 2)
11063   - [0] -> line 35
11064   - [6] -> line 36
11065   - + Method: sendChatRoomMessage(Ljava/lang/String;)V
  11325 + [0] -> line 31
  11326 + [7] -> line 32
  11327 + + Method: sendMessage(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
11066 11328 Access flags: 0x9
11067   - = public static void sendChatRoomMessage(java.lang.String)
  11329 + = public static void sendMessage(java.lang.String,java.lang.String,java.lang.String)
11068 11330 Class member attributes (count = 1):
11069   - + Code attribute instructions (code length = 8, locals = 1, stack = 2):
11070   - [0] invokestatic #17
  11331 + + Code attribute instructions (code length = 10, locals = 3, stack = 4):
  11332 + [0] invokestatic #16
11071 11333 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11072 11334 [3] aload_0 v0
11073   - [4] invokevirtual #22
11074   - + Methodref [io/rong/imlib/Chat.sendChatRoomMessage (Ljava/lang/String;)V]
11075   - [7] return
  11335 + [4] aload_1 v1
  11336 + [5] aload_2 v2
  11337 + [6] invokevirtual #22
  11338 + + Methodref [io/rong/imlib/Chat.sendMessage (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V]
  11339 + [9] return
11076 11340 Code attribute exceptions (count = 0):
11077 11341 Code attribute attributes (attribute count = 1):
11078 11342 + Line number table attribute (count = 2)
11079   - [0] -> line 39
11080   - [7] -> line 40
11081   - + Method: sendPrivateMessage(Ljava/lang/String;Ljava/lang/String;)V
  11343 + [0] -> line 35
  11344 + [9] -> line 36
  11345 + + Method: exchangeUser(Lio/rong/imlib/model/CNUserInfo;)V
11082 11346 Access flags: 0x9
11083   - = public static void sendPrivateMessage(java.lang.String,java.lang.String)
  11347 + = public static void exchangeUser(io.rong.imlib.model.CNUserInfo)
11084 11348 Class member attributes (count = 1):
11085   - + Code attribute instructions (code length = 9, locals = 2, stack = 3):
11086   - [0] invokestatic #17
  11349 + + Code attribute instructions (code length = 8, locals = 1, stack = 2):
  11350 + [0] invokestatic #16
11087 11351 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11088 11352 [3] aload_0 v0
11089   - [4] aload_1 v1
11090   - [5] invokevirtual #23
11091   - + Methodref [io/rong/imlib/Chat.sendPrivateMessage (Ljava/lang/String;Ljava/lang/String;)V]
11092   - [8] return
  11353 + [4] invokevirtual #15
  11354 + + Methodref [io/rong/imlib/Chat.exchangeUser (Lio/rong/imlib/model/CNUserInfo;)V]
  11355 + [7] return
11093 11356 Code attribute exceptions (count = 0):
11094 11357 Code attribute attributes (attribute count = 1):
11095 11358 + Line number table attribute (count = 2)
11096   - [0] -> line 43
11097   - [8] -> line 44
  11359 + [0] -> line 39
  11360 + [7] -> line 40
11098 11361 + Method: setConnectStatusListener(Lio/rong/imlib/base/IChat$OnConnectStatusListener;)V
11099 11362 Access flags: 0x9
11100 11363 = public static void setConnectStatusListener(io.rong.imlib.base.IChat$OnConnectStatusListener)
11101 11364 Class member attributes (count = 1):
11102 11365 + Code attribute instructions (code length = 8, locals = 1, stack = 2):
11103   - [0] invokestatic #17
  11366 + [0] invokestatic #16
11104 11367 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11105 11368 [3] aload_0 v0
11106   - [4] invokevirtual #24
  11369 + [4] invokevirtual #23
11107 11370 + Methodref [io/rong/imlib/Chat.setConnectStatusListener (Lio/rong/imlib/base/IChat$OnConnectStatusListener;)V]
11108 11371 [7] return
11109 11372 Code attribute exceptions (count = 0):
11110 11373 Code attribute attributes (attribute count = 1):
11111 11374 + Line number table attribute (count = 2)
11112   - [0] -> line 47
11113   - [7] -> line 48
  11375 + [0] -> line 43
  11376 + [7] -> line 44
11114 11377 + Method: setOnMessageListener(Lio/rong/imlib/base/IChat$OnMessageListener;)V
11115 11378 Access flags: 0x9
11116 11379 = public static void setOnMessageListener(io.rong.imlib.base.IChat$OnMessageListener)
11117 11380 Class member attributes (count = 1):
11118 11381 + Code attribute instructions (code length = 8, locals = 1, stack = 2):
11119   - [0] invokestatic #17
  11382 + [0] invokestatic #16
11120 11383 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11121 11384 [3] aload_0 v0
11122   - [4] invokevirtual #28
  11385 + [4] invokevirtual #27
11123 11386 + Methodref [io/rong/imlib/Chat.setOnMessageListener (Lio/rong/imlib/base/IChat$OnMessageListener;)V]
11124 11387 [7] return
11125 11388 Code attribute exceptions (count = 0):
11126 11389 Code attribute attributes (attribute count = 1):
11127 11390 + Line number table attribute (count = 2)
11128   - [0] -> line 51
11129   - [7] -> line 52
  11391 + [0] -> line 47
  11392 + [7] -> line 48
11130 11393 + Method: setOnChatRoomActionListener(Lio/rong/imlib/base/IChat$OnChatRoomActionListener;)V
11131 11394 Access flags: 0x9
11132 11395 = public static void setOnChatRoomActionListener(io.rong.imlib.base.IChat$OnChatRoomActionListener)
11133 11396 Class member attributes (count = 1):
11134 11397 + Code attribute instructions (code length = 8, locals = 1, stack = 2):
11135   - [0] invokestatic #17
  11398 + [0] invokestatic #16
11136 11399 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11137 11400 [3] aload_0 v0
11138   - [4] invokevirtual #25
  11401 + [4] invokevirtual #24
11139 11402 + Methodref [io/rong/imlib/Chat.setOnChatRoomActionListener (Lio/rong/imlib/base/IChat$OnChatRoomActionListener;)V]
11140 11403 [7] return
11141 11404 Code attribute exceptions (count = 0):
11142 11405 Code attribute attributes (attribute count = 1):
11143 11406 + Line number table attribute (count = 2)
11144   - [0] -> line 55
11145   - [7] -> line 56
  11407 + [0] -> line 51
  11408 + [7] -> line 52
11146 11409 + Method: setOnSendMessageListener(Lio/rong/imlib/base/IChat$OnSendMessageListener;)V
11147 11410 Access flags: 0x9
11148 11411 = public static void setOnSendMessageListener(io.rong.imlib.base.IChat$OnSendMessageListener)
11149 11412 Class member attributes (count = 1):
11150 11413 + Code attribute instructions (code length = 8, locals = 1, stack = 2):
11151   - [0] invokestatic #17
  11414 + [0] invokestatic #16
11152 11415 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11153 11416 [3] aload_0 v0
11154   - [4] invokevirtual #31
  11417 + [4] invokevirtual #30
11155 11418 + Methodref [io/rong/imlib/Chat.setOnSendMessageListener (Lio/rong/imlib/base/IChat$OnSendMessageListener;)V]
11156 11419 [7] return
11157 11420 Code attribute exceptions (count = 0):
11158 11421 Code attribute attributes (attribute count = 1):
11159 11422 + Line number table attribute (count = 2)
11160   - [0] -> line 59
11161   - [7] -> line 60
  11423 + [0] -> line 55
  11424 + [7] -> line 56
11162 11425 + Method: setOnConnectionListener(Lio/rong/imlib/base/IChat$OnConnectListener;)V
11163 11426 Access flags: 0x9
11164 11427 = public static void setOnConnectionListener(io.rong.imlib.base.IChat$OnConnectListener)
11165 11428 Class member attributes (count = 1):
11166 11429 + Code attribute instructions (code length = 8, locals = 1, stack = 2):
11167   - [0] invokestatic #17
  11430 + [0] invokestatic #16
11168 11431 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11169 11432 [3] aload_0 v0
11170   - [4] invokevirtual #26
  11433 + [4] invokevirtual #25
11171 11434 + Methodref [io/rong/imlib/Chat.setOnConnectionListener (Lio/rong/imlib/base/IChat$OnConnectListener;)V]
11172 11435 [7] return
11173 11436 Code attribute exceptions (count = 0):
11174 11437 Code attribute attributes (attribute count = 1):
11175 11438 + Line number table attribute (count = 2)
11176   - [0] -> line 63
11177   - [7] -> line 64
  11439 + [0] -> line 59
  11440 + [7] -> line 60
11178 11441 + Method: setOnOperationListener(Lio/rong/imlib/base/IChat$OnOperationListener;)V
11179 11442 Access flags: 0x9
11180 11443 = public static void setOnOperationListener(io.rong.imlib.base.IChat$OnOperationListener)
11181 11444 Class member attributes (count = 1):
11182 11445 + Code attribute instructions (code length = 8, locals = 1, stack = 2):
11183   - [0] invokestatic #17
  11446 + [0] invokestatic #16
11184 11447 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11185 11448 [3] aload_0 v0
11186   - [4] invokevirtual #29
  11449 + [4] invokevirtual #28
11187 11450 + Methodref [io/rong/imlib/Chat.setOnOperationListener (Lio/rong/imlib/base/IChat$OnOperationListener;)V]
11188 11451 [7] return
11189 11452 Code attribute exceptions (count = 0):
11190 11453 Code attribute attributes (attribute count = 1):
11191 11454 + Line number table attribute (count = 2)
11192   - [0] -> line 67
11193   - [7] -> line 68
  11455 + [0] -> line 63
  11456 + [7] -> line 64
11194 11457 + Method: setOnResultListener(Lio/rong/imlib/base/IChat$OnResultListener;)V
11195 11458 Access flags: 0x9
11196 11459 = public static void setOnResultListener(io.rong.imlib.base.IChat$OnResultListener)
11197 11460 Class member attributes (count = 1):
11198 11461 + Code attribute instructions (code length = 8, locals = 1, stack = 2):
11199   - [0] invokestatic #17
  11462 + [0] invokestatic #16
11200 11463 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11201 11464 [3] aload_0 v0
11202   - [4] invokevirtual #30
  11465 + [4] invokevirtual #29
11203 11466 + Methodref [io/rong/imlib/Chat.setOnResultListener (Lio/rong/imlib/base/IChat$OnResultListener;)V]
11204 11467 [7] return
11205 11468 Code attribute exceptions (count = 0):
11206 11469 Code attribute attributes (attribute count = 1):
11207 11470 + Line number table attribute (count = 2)
11208   - [0] -> line 71
11209   - [7] -> line 72
  11471 + [0] -> line 67
  11472 + [7] -> line 68
11210 11473 + Method: getLatestMessages(Ljava/lang/String;I)V
11211 11474 Access flags: 0x9
11212 11475 = public static void getLatestMessages(java.lang.String,int)
11213 11476 Class member attributes (count = 1):
11214 11477 + Code attribute instructions (code length = 9, locals = 2, stack = 3):
11215   - [0] invokestatic #17
  11478 + [0] invokestatic #16
11216 11479 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11217 11480 [3] aload_0 v0
11218 11481 [4] iload_1 v1
11219   - [5] invokevirtual #18
  11482 + [5] invokevirtual #17
11220 11483 + Methodref [io/rong/imlib/Chat.getLatestMessages (Ljava/lang/String;I)V]
11221 11484 [8] return
11222 11485 Code attribute exceptions (count = 0):
11223 11486 Code attribute attributes (attribute count = 1):
11224 11487 + Line number table attribute (count = 2)
11225   - [0] -> line 75
11226   - [8] -> line 76
  11488 + [0] -> line 71
  11489 + [8] -> line 72
11227 11490 + Method: setOnLatestMessageListener(Lio/rong/imlib/base/IChat$OnLatestMessageListener;)V
11228 11491 Access flags: 0x9
11229 11492 = public static void setOnLatestMessageListener(io.rong.imlib.base.IChat$OnLatestMessageListener)
11230 11493 Class member attributes (count = 1):
11231 11494 + Code attribute instructions (code length = 8, locals = 1, stack = 2):
11232   - [0] invokestatic #17
  11495 + [0] invokestatic #16
11233 11496 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11234 11497 [3] aload_0 v0
11235   - [4] invokevirtual #27
  11498 + [4] invokevirtual #26
11236 11499 + Methodref [io/rong/imlib/Chat.setOnLatestMessageListener (Lio/rong/imlib/base/IChat$OnLatestMessageListener;)V]
11237 11500 [7] return
11238 11501 Code attribute exceptions (count = 0):
11239 11502 Code attribute attributes (attribute count = 1):
11240 11503 + Line number table attribute (count = 2)
11241   - [0] -> line 79
11242   - [7] -> line 80
11243   - + Method: currentUser()Lio/rong/imlib/model/UserInfo;
  11504 + [0] -> line 75
  11505 + [7] -> line 76
  11506 + + Method: modifyUser(Ljava/lang/String;Ljava/lang/String;)V
11244 11507 Access flags: 0x9
11245   - = public static io.rong.imlib.model.UserInfo currentUser()
  11508 + = public static void modifyUser(java.lang.String,java.lang.String)
11246 11509 Class member attributes (count = 1):
11247   - + Code attribute instructions (code length = 8, locals = 0, stack = 1):
11248   - [0] invokestatic #17
  11510 + + Code attribute instructions (code length = 9, locals = 2, stack = 3):
  11511 + [0] invokestatic #16
11249 11512 + Methodref [io/rong/imlib/Chat.getInstance ()Lio/rong/imlib/Chat;]
11250   - [3] pop
11251   - [4] getstatic #13
11252   - + Fieldref [io/rong/imlib/Chat.currentUser Lio/rong/imlib/model/UserInfo;]
11253   - [7] areturn
  11513 + [3] aload_0 v0
  11514 + [4] aload_1 v1
  11515 + [5] invokevirtual #20
  11516 + + Methodref [io/rong/imlib/Chat.modifyUser (Ljava/lang/String;Ljava/lang/String;)V]
  11517 + [8] return
11254 11518 Code attribute exceptions (count = 0):
11255 11519 Code attribute attributes (attribute count = 1):
11256   - + Line number table attribute (count = 1)
11257   - [0] -> line 83
  11520 + + Line number table attribute (count = 2)
  11521 + [0] -> line 79
  11522 + [8] -> line 80
11258 11523  
11259 11524 Class file attributes (count = 2):
11260 11525 + Inner classes attribute (count = 8)
... ... @@ -164213,7 +164478,7 @@ _____________________________________________________________________
164213 164478  
164214 164479 Interfaces (count = 0):
164215 164480  
164216   -Constant Pool (count = 136):
  164481 +Constant Pool (count = 143):
164217 164482 + Integer [-100000]
164218 164483 + Integer [-1]
164219 164484 + Integer [0]
... ... @@ -164236,6 +164501,8 @@ Constant Pool (count = 136):
164236 164501 + String [Server invalid.]
164237 164502 + String [Token incorrect.]
164238 164503 + String [Token??]
  164504 + + String [chatRoom]
  164505 + + String [private]
164239 164506 + String [??????????]
164240 164507 + String [???????]
164241 164508 + String [??????]
... ... @@ -164252,8 +164519,7 @@ Constant Pool (count = 136):
164252 164519 + Class [io/rong/imlib/base/IChat$OnResultListener]
164253 164520 + Class [io/rong/imlib/base/IChat$OnSendMessageListener]
164254 164521 + Class [java/lang/Object]
164255   - + Utf8 [()V]
164256   - + Utf8 [(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V]
  164522 + + Utf8 [(Landroid/content/Context;)V]
164257 164523 + Utf8 [(Lio/rong/imlib/base/IChat$OnChatRoomActionListener;)V]
164258 164524 + Utf8 [(Lio/rong/imlib/base/IChat$OnConnectListener;)V]
164259 164525 + Utf8 [(Lio/rong/imlib/base/IChat$OnConnectStatusListener;)V]
... ... @@ -164266,7 +164532,9 @@ Constant Pool (count = 136):
164266 164532 + Utf8 [(Ljava/lang/String;)V]
164267 164533 + Utf8 [(Ljava/lang/String;I)V]
164268 164534 + Utf8 [(Ljava/lang/String;Ljava/lang/String;)V]
  164535 + + Utf8 [(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V]
164269 164536 + Utf8 [(Z)V]
  164537 + + Utf8 [CHATROOM]
164270 164538 + Utf8 [CONNECTED]
164271 164539 + Utf8 [CONNECTING]
164272 164540 + Utf8 [Connect Success.]
... ... @@ -164298,6 +164566,7 @@ Constant Pool (count = 136):
164298 164566 + Utf8 [OnOperationListener]
164299 164567 + Utf8 [OnResultListener]
164300 164568 + Utf8 [OnSendMessageListener]
  164569 + + Utf8 [PRIVATE]
164301 164570 + Utf8 [RECEIVE]
164302 164571 + Utf8 [SERVER_INVALID]
164303 164572 + Utf8 [STATUS_CONNECTED]
... ... @@ -164317,8 +164586,10 @@ Constant Pool (count = 136):
164317 164586 + Utf8 [TOKEN_INCORRECT]
164318 164587 + Utf8 [Token incorrect.]
164319 164588 + Utf8 [Token??]
  164589 + + Utf8 [chatRoom]
164320 164590 + Utf8 [connect]
164321 164591 + Utf8 [disconnect]
  164592 + + Utf8 [exchangeUser]
164322 164593 + Utf8 [getLatestMessages]
164323 164594 + Utf8 [init]
164324 164595 + Utf8 [io/rong/imlib/base/IChat]
... ... @@ -164332,9 +164603,10 @@ Constant Pool (count = 136):
164332 164603 + Utf8 [io/rong/imlib/base/IChat$OnSendMessageListener]
164333 164604 + Utf8 [java/lang/Object]
164334 164605 + Utf8 [joinExistChatRoom]
  164606 + + Utf8 [modifyUser]
  164607 + + Utf8 [private]
164335 164608 + Utf8 [quitChatRoom]
164336   - + Utf8 [sendChatRoomMessage]
164337   - + Utf8 [sendPrivateMessage]
  164609 + + Utf8 [sendMessage]
164338 164610 + Utf8 [setConnectStatusListener]
164339 164611 + Utf8 [setOnChatRoomActionListener]
164340 164612 + Utf8 [setOnConnectionListener]
... ... @@ -164350,7 +164622,7 @@ Constant Pool (count = 136):
164350 164622 + Utf8 [????]
164351 164623 + Utf8 [???????]
164352 164624  
164353   -Fields (count = 28):
  164625 +Fields (count = 30):
164354 164626 + Field: NETWORK_UNAVAILABLE I
164355 164627 Access flags: 0x19
164356 164628 = public static final int NETWORK_UNAVAILABLE
... ... @@ -164435,6 +164707,18 @@ Fields (count = 28):
164435 164707 Class member attributes (count = 1):
164436 164708 + Constant value attribute:
164437 164709 + Integer [100006]
  164710 + + Field: PRIVATE Ljava/lang/String;
  164711 + Access flags: 0x19
  164712 + = public static final java.lang.String PRIVATE
  164713 + Class member attributes (count = 1):
  164714 + + Constant value attribute:
  164715 + + String [private]
  164716 + + Field: CHATROOM Ljava/lang/String;
  164717 + Access flags: 0x19
  164718 + = public static final java.lang.String CHATROOM
  164719 + Class member attributes (count = 1):
  164720 + + Constant value attribute:
  164721 + + String [chatRoom]
164438 164722 + Field: MSG_TOKEN_INCORRECT Ljava/lang/String;
164439 164723 Access flags: 0x19
164440 164724 = public static final java.lang.String MSG_TOKEN_INCORRECT
... ... @@ -164521,30 +164805,30 @@ Fields (count = 28):
164521 164805 + String [Server invalid.]
164522 164806  
164523 164807 Methods (count = 17):
164524   - + Method: init(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
  164808 + + Method: init(Landroid/content/Context;)V
164525 164809 Access flags: 0x401
164526   - = public abstract void init(android.content.Context,java.lang.String,java.lang.String)
  164810 + = public abstract void init(android.content.Context)
164527 164811 + Method: connect(Lio/rong/imlib/model/CNUserInfo;)V
164528 164812 Access flags: 0x401
164529 164813 = public abstract void connect(io.rong.imlib.model.CNUserInfo)
164530   - + Method: connect(Ljava/lang/String;)V
164531   - Access flags: 0x401
164532   - = public abstract void connect(java.lang.String)
164533 164814 + Method: disconnect(Z)V
164534 164815 Access flags: 0x401
164535 164816 = public abstract void disconnect(boolean)
164536 164817 + Method: joinExistChatRoom(Ljava/lang/String;I)V
164537 164818 Access flags: 0x401
164538 164819 = public abstract void joinExistChatRoom(java.lang.String,int)
164539   - + Method: quitChatRoom()V
  164820 + + Method: quitChatRoom(Ljava/lang/String;)V
164540 164821 Access flags: 0x401
164541   - = public abstract void quitChatRoom()
164542   - + Method: sendChatRoomMessage(Ljava/lang/String;)V
  164822 + = public abstract void quitChatRoom(java.lang.String)
  164823 + + Method: sendMessage(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
164543 164824 Access flags: 0x401
164544   - = public abstract void sendChatRoomMessage(java.lang.String)
164545   - + Method: sendPrivateMessage(Ljava/lang/String;Ljava/lang/String;)V
  164825 + = public abstract void sendMessage(java.lang.String,java.lang.String,java.lang.String)
  164826 + + Method: modifyUser(Ljava/lang/String;Ljava/lang/String;)V
164546 164827 Access flags: 0x401
164547   - = public abstract void sendPrivateMessage(java.lang.String,java.lang.String)
  164828 + = public abstract void modifyUser(java.lang.String,java.lang.String)
  164829 + + Method: exchangeUser(Lio/rong/imlib/model/CNUserInfo;)V
  164830 + Access flags: 0x401
  164831 + = public abstract void exchangeUser(io.rong.imlib.model.CNUserInfo)
164548 164832 + Method: setConnectStatusListener(Lio/rong/imlib/base/IChat$OnConnectStatusListener;)V
164549 164833 Access flags: 0x401
164550 164834 = public abstract void setConnectStatusListener(io.rong.imlib.base.IChat$OnConnectStatusListener)
... ... @@ -196973,12 +197257,14 @@ _____________________________________________________________________
196973 197257 Access flags: 0x21
196974 197258 = public class io.rong.imlib.model.CNUserInfo extends java.lang.Object
196975 197259  
196976   -Interfaces (count = 0):
  197260 +Interfaces (count = 1):
  197261 + + Class [java/io/Serializable]
196977 197262  
196978   -Constant Pool (count = 44):
  197263 +Constant Pool (count = 46):
196979 197264 + String [userId is null]
196980 197265 + Class [android/text/TextUtils]
196981 197266 + Class [io/rong/imlib/model/CNUserInfo]
  197267 + + Class [java/io/Serializable]
196982 197268 + Class [java/lang/NullPointerException]
196983 197269 + Class [java/lang/Object]
196984 197270 + Fieldref [io/rong/imlib/model/CNUserInfo.headUrl Ljava/lang/String;]
... ... @@ -197011,6 +197297,7 @@ Constant Pool (count = 44):
197011 197297 + Utf8 [headUrl]
197012 197298 + Utf8 [io/rong/imlib/model/CNUserInfo]
197013 197299 + Utf8 [isEmpty]
  197300 + + Utf8 [java/io/Serializable]
197014 197301 + Utf8 [java/lang/NullPointerException]
197015 197302 + Utf8 [java/lang/Object]
197016 197303 + Utf8 [setHeadUrl]
... ... @@ -197038,70 +197325,70 @@ Methods (count = 8):
197038 197325 Class member attributes (count = 1):
197039 197326 + Code attribute instructions (code length = 5, locals = 1, stack = 1):
197040 197327 [0] aload_0 v0
197041   - [1] invokespecial #11
  197328 + [1] invokespecial #12
197042 197329 + Methodref [java/lang/Object.<init> ()V]
197043 197330 [4] return
197044 197331 Code attribute exceptions (count = 0):
197045 197332 Code attribute attributes (attribute count = 1):
197046 197333 + Line number table attribute (count = 2)
197047   - [0] -> line 16
197048   - [4] -> line 18
  197334 + [0] -> line 18
  197335 + [4] -> line 20
197049 197336 - Method: <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
197050 197337 Access flags: 0x1
197051 197338 = public CNUserInfo(java.lang.String,java.lang.String,java.lang.String)
197052 197339 Class member attributes (count = 1):
197053 197340 + Code attribute instructions (code length = 37, locals = 4, stack = 3):
197054 197341 [0] aload_0 v0
197055   - [1] invokespecial #11
  197342 + [1] invokespecial #12
197056 197343 + Methodref [java/lang/Object.<init> ()V]
197057 197344 [4] aload_1 v1
197058   - [5] invokestatic #9
  197345 + [5] invokestatic #10
197059 197346 + Methodref [android/text/TextUtils.isEmpty (Ljava/lang/CharSequence;)Z]
197060 197347 [8] ifeq +13 (target=21)
197061   - [11] new #4
  197348 + [11] new #5
197062 197349 + Class [java/lang/NullPointerException]
197063 197350 [14] dup
197064 197351 [15] ldc #1
197065 197352 + String [userId is null]
197066   - [17] invokespecial #10
  197353 + [17] invokespecial #11
197067 197354 + Methodref [java/lang/NullPointerException.<init> (Ljava/lang/String;)V]
197068 197355 [20] athrow
197069 197356 [21] aload_0 v0
197070 197357 [22] aload_1 v1
197071   - [23] putfield #7
  197358 + [23] putfield #8
197072 197359 + Fieldref [io/rong/imlib/model/CNUserInfo.userId Ljava/lang/String;]
197073 197360 [26] aload_0 v0
197074 197361 [27] aload_2 v2
197075   - [28] putfield #8
  197362 + [28] putfield #9
197076 197363 + Fieldref [io/rong/imlib/model/CNUserInfo.userName Ljava/lang/String;]
197077 197364 [31] aload_0 v0
197078 197365 [32] aload_3 v3
197079   - [33] putfield #6
  197366 + [33] putfield #7
197080 197367 + Fieldref [io/rong/imlib/model/CNUserInfo.headUrl Ljava/lang/String;]
197081 197368 [36] return
197082 197369 Code attribute exceptions (count = 0):
197083 197370 Code attribute attributes (attribute count = 1):
197084 197371 + Line number table attribute (count = 7)
197085   - [0] -> line 20
197086   - [4] -> line 21
197087   - [11] -> line 22
197088   - [21] -> line 24
197089   - [26] -> line 25
197090   - [31] -> line 26
197091   - [36] -> line 28
  197372 + [0] -> line 22
  197373 + [4] -> line 23
  197374 + [11] -> line 24
  197375 + [21] -> line 26
  197376 + [26] -> line 27
  197377 + [31] -> line 28
  197378 + [36] -> line 30
197092 197379 + Method: getUserId()Ljava/lang/String;
197093 197380 Access flags: 0x1
197094 197381 = public java.lang.String getUserId()
197095 197382 Class member attributes (count = 1):
197096 197383 + Code attribute instructions (code length = 5, locals = 1, stack = 1):
197097 197384 [0] aload_0 v0
197098   - [1] getfield #7
  197385 + [1] getfield #8
197099 197386 + Fieldref [io/rong/imlib/model/CNUserInfo.userId Ljava/lang/String;]
197100 197387 [4] areturn
197101 197388 Code attribute exceptions (count = 0):
197102 197389 Code attribute attributes (attribute count = 1):
197103 197390 + Line number table attribute (count = 1)
197104   - [0] -> line 31
  197391 + [0] -> line 33
197105 197392 + Method: setUserId(Ljava/lang/String;)V
197106 197393 Access flags: 0x1
197107 197394 = public void setUserId(java.lang.String)
... ... @@ -197109,27 +197396,27 @@ Methods (count = 8):
197109 197396 + Code attribute instructions (code length = 6, locals = 2, stack = 2):
197110 197397 [0] aload_0 v0
197111 197398 [1] aload_1 v1
197112   - [2] putfield #7
  197399 + [2] putfield #8
197113 197400 + Fieldref [io/rong/imlib/model/CNUserInfo.userId Ljava/lang/String;]
197114 197401 [5] return
197115 197402 Code attribute exceptions (count = 0):
197116 197403 Code attribute attributes (attribute count = 1):
197117 197404 + Line number table attribute (count = 2)
197118   - [0] -> line 35
197119   - [5] -> line 36
  197405 + [0] -> line 37
  197406 + [5] -> line 38
197120 197407 + Method: getUserName()Ljava/lang/String;
197121 197408 Access flags: 0x1
197122 197409 = public java.lang.String getUserName()
197123 197410 Class member attributes (count = 1):
197124 197411 + Code attribute instructions (code length = 5, locals = 1, stack = 1):
197125 197412 [0] aload_0 v0
197126   - [1] getfield #8
  197413 + [1] getfield #9
197127 197414 + Fieldref [io/rong/imlib/model/CNUserInfo.userName Ljava/lang/String;]
197128 197415 [4] areturn
197129 197416 Code attribute exceptions (count = 0):
197130 197417 Code attribute attributes (attribute count = 1):
197131 197418 + Line number table attribute (count = 1)
197132   - [0] -> line 39
  197419 + [0] -> line 41
197133 197420 + Method: setUserName(Ljava/lang/String;)V
197134 197421 Access flags: 0x1
197135 197422 = public void setUserName(java.lang.String)
... ... @@ -197137,27 +197424,27 @@ Methods (count = 8):
197137 197424 + Code attribute instructions (code length = 6, locals = 2, stack = 2):
197138 197425 [0] aload_0 v0
197139 197426 [1] aload_1 v1
197140   - [2] putfield #8
  197427 + [2] putfield #9
197141 197428 + Fieldref [io/rong/imlib/model/CNUserInfo.userName Ljava/lang/String;]
197142 197429 [5] return
197143 197430 Code attribute exceptions (count = 0):
197144 197431 Code attribute attributes (attribute count = 1):
197145 197432 + Line number table attribute (count = 2)
197146   - [0] -> line 43
197147   - [5] -> line 44
  197433 + [0] -> line 45
  197434 + [5] -> line 46
197148 197435 + Method: getHeadUrl()Ljava/lang/String;
197149 197436 Access flags: 0x1
197150 197437 = public java.lang.String getHeadUrl()
197151 197438 Class member attributes (count = 1):
197152 197439 + Code attribute instructions (code length = 5, locals = 1, stack = 1):
197153 197440 [0] aload_0 v0
197154   - [1] getfield #6
  197441 + [1] getfield #7
197155 197442 + Fieldref [io/rong/imlib/model/CNUserInfo.headUrl Ljava/lang/String;]
197156 197443 [4] areturn
197157 197444 Code attribute exceptions (count = 0):
197158 197445 Code attribute attributes (attribute count = 1):
197159 197446 + Line number table attribute (count = 1)
197160   - [0] -> line 47
  197447 + [0] -> line 49
197161 197448 + Method: setHeadUrl(Ljava/lang/String;)V
197162 197449 Access flags: 0x1
197163 197450 = public void setHeadUrl(java.lang.String)
... ... @@ -197165,14 +197452,14 @@ Methods (count = 8):
197165 197452 + Code attribute instructions (code length = 6, locals = 2, stack = 2):
197166 197453 [0] aload_0 v0
197167 197454 [1] aload_1 v1
197168   - [2] putfield #6
  197455 + [2] putfield #7
197169 197456 + Fieldref [io/rong/imlib/model/CNUserInfo.headUrl Ljava/lang/String;]
197170 197457 [5] return
197171 197458 Code attribute exceptions (count = 0):
197172 197459 Code attribute attributes (attribute count = 1):
197173 197460 + Line number table attribute (count = 2)
197174   - [0] -> line 51
197175   - [5] -> line 52
  197461 + [0] -> line 53
  197462 + [5] -> line 54
197176 197463  
197177 197464 Class file attributes (count = 1):
197178 197465 + Source file attribute:
... ... @@ -229148,7 +229435,7 @@ Constant Pool (count = 130):
229148 229435 + Methodref [io/rong/imlib/model/CNNotificationMessage.setTargetUserName (Ljava/lang/String;)V]
229149 229436 + Methodref [io/rong/imlib/receiver/SealNotificationReceiver.onNotificationMessageArrived (Landroid/content/Context;Lio/rong/imlib/model/CNNotificationMessage;)Z]
229150 229437 + Methodref [io/rong/imlib/receiver/SealNotificationReceiver.onNotificationMessageClicked (Landroid/content/Context;Lio/rong/imlib/model/CNNotificationMessage;)Z]
229151   - + Methodref [io/rong/imlib/receiver/SealNotificationReceiver.test (Lio/rong/imlib/model/CNNotificationMessage;Lio/rong/push/notification/PushNotificationMessage;)Lio/rong/imlib/model/CNNotificationMessage;]
  229438 + + Methodref [io/rong/imlib/receiver/SealNotificationReceiver.transform (Lio/rong/imlib/model/CNNotificationMessage;Lio/rong/push/notification/PushNotificationMessage;)Lio/rong/imlib/model/CNNotificationMessage;]
229152 229439 + Methodref [io/rong/push/notification/PushMessageReceiver.<init> ()V]
229153 229440 + Methodref [io/rong/push/notification/PushNotificationMessage.getConversationType ()Lio/rong/push/RongPushClient$ConversationType;]
229154 229441 + Methodref [io/rong/push/notification/PushNotificationMessage.getExtra ()Ljava/lang/String;]
... ... @@ -229194,7 +229481,7 @@ Constant Pool (count = 130):
229194 229481 + NameAndType [setSenderPortrait (Landroid/net/Uri;)V]
229195 229482 + NameAndType [setTargetId (Ljava/lang/String;)V]
229196 229483 + NameAndType [setTargetUserName (Ljava/lang/String;)V]
229197   - + NameAndType [test (Lio/rong/imlib/model/CNNotificationMessage;Lio/rong/push/notification/PushNotificationMessage;)Lio/rong/imlib/model/CNNotificationMessage;]
  229484 + + NameAndType [transform (Lio/rong/imlib/model/CNNotificationMessage;Lio/rong/push/notification/PushNotificationMessage;)Lio/rong/imlib/model/CNNotificationMessage;]
229198 229485 + Utf8 [()J]
229199 229486 + Utf8 [()Landroid/net/Uri;]
229200 229487 + Utf8 [()Lio/rong/push/RongPushClient$ConversationType;]
... ... @@ -229252,7 +229539,7 @@ Constant Pool (count = 130):
229252 229539 + Utf8 [setSenderPortrait]
229253 229540 + Utf8 [setTargetId]
229254 229541 + Utf8 [setTargetUserName]
229255   - + Utf8 [test]
  229542 + + Utf8 [transform]
229256 229543  
229257 229544 Fields (count = 1):
229258 229545 + Field: notificationMessage Lio/rong/imlib/model/CNNotificationMessage;
... ... @@ -229285,7 +229572,7 @@ Methods (count = 7):
229285 229572 + Fieldref [io/rong/imlib/receiver/SealNotificationReceiver.notificationMessage Lio/rong/imlib/model/CNNotificationMessage;]
229286 229573 [6] aload_2 v2
229287 229574 [7] invokespecial #25
229288   - + Methodref [io/rong/imlib/receiver/SealNotificationReceiver.test (Lio/rong/imlib/model/CNNotificationMessage;Lio/rong/push/notification/PushNotificationMessage;)Lio/rong/imlib/model/CNNotificationMessage;]
  229575 + + Methodref [io/rong/imlib/receiver/SealNotificationReceiver.transform (Lio/rong/imlib/model/CNNotificationMessage;Lio/rong/push/notification/PushNotificationMessage;)Lio/rong/imlib/model/CNNotificationMessage;]
229289 229576 [10] invokevirtual #23
229290 229577 + Methodref [io/rong/imlib/receiver/SealNotificationReceiver.onNotificationMessageArrived (Landroid/content/Context;Lio/rong/imlib/model/CNNotificationMessage;)Z]
229291 229578 [13] ireturn
... ... @@ -229305,7 +229592,7 @@ Methods (count = 7):
229305 229592 + Fieldref [io/rong/imlib/receiver/SealNotificationReceiver.notificationMessage Lio/rong/imlib/model/CNNotificationMessage;]
229306 229593 [6] aload_2 v2
229307 229594 [7] invokespecial #25
229308   - + Methodref [io/rong/imlib/receiver/SealNotificationReceiver.test (Lio/rong/imlib/model/CNNotificationMessage;Lio/rong/push/notification/PushNotificationMessage;)Lio/rong/imlib/model/CNNotificationMessage;]
  229595 + + Methodref [io/rong/imlib/receiver/SealNotificationReceiver.transform (Lio/rong/imlib/model/CNNotificationMessage;Lio/rong/push/notification/PushNotificationMessage;)Lio/rong/imlib/model/CNNotificationMessage;]
229309 229596 [10] invokevirtual #24
229310 229597 + Methodref [io/rong/imlib/receiver/SealNotificationReceiver.onNotificationMessageClicked (Landroid/content/Context;Lio/rong/imlib/model/CNNotificationMessage;)Z]
229311 229598 [13] ireturn
... ... @@ -229313,9 +229600,9 @@ Methods (count = 7):
229313 229600 Code attribute attributes (attribute count = 1):
229314 229601 + Line number table attribute (count = 1)
229315 229602 [0] -> line 24
229316   - + Method: test(Lio/rong/imlib/model/CNNotificationMessage;Lio/rong/push/notification/PushNotificationMessage;)Lio/rong/imlib/model/CNNotificationMessage;
  229603 + + Method: transform(Lio/rong/imlib/model/CNNotificationMessage;Lio/rong/push/notification/PushNotificationMessage;)Lio/rong/imlib/model/CNNotificationMessage;
229317 229604 Access flags: 0x2
229318   - = private io.rong.imlib.model.CNNotificationMessage test(io.rong.imlib.model.CNNotificationMessage,io.rong.push.notification.PushNotificationMessage)
  229605 + = private io.rong.imlib.model.CNNotificationMessage transform(io.rong.imlib.model.CNNotificationMessage,io.rong.push.notification.PushNotificationMessage)
229319 229606 Class member attributes (count = 1):
229320 229607 + Code attribute instructions (code length = 114, locals = 3, stack = 3):
229321 229608 [0] aload_1 v1
... ...
IMLib/build/outputs/mapping/release/mapping.txt
... ... @@ -130,6 +130,7 @@ io.rong.imlib.BuildConfig -&gt; io.rong.imlib.BuildConfig:
130 130 io.rong.imlib.Chat -> io.rong.imlib.Chat:
131 131 io.rong.imlib.model.UserInfo currentUser -> currentUser
132 132 io.rong.imlib.model.CNUserInfo currentCNUser -> currentCNUser
  133 + int defMessageCount -> defMessageCount
133 134 java.lang.String currentRoomId -> currentRoomId
134 135 io.rong.imlib.base.IChat$OnConnectStatusListener mConnectStatusListener -> mConnectStatusListener
135 136 io.rong.imlib.base.IChat$OnMessageListener mOnMessageListener -> mOnMessageListener
... ... @@ -142,37 +143,41 @@ io.rong.imlib.Chat -&gt; io.rong.imlib.Chat:
142 143 java.lang.String APP_KEY -> APP_KEY
143 144 java.lang.String APP_SECRET -> APP_SECRET
144 145 io.rong.imlib.Chat chat -> chat
  146 + java.util.List roomIdList -> roomIdList
145 147 io.rong.imlib.RongIMClient$ConnectionStatusListener connectionStatusListener -> connectionStatusListener
146 148 io.rong.imlib.RongIMClient$ChatRoomActionListener chatRoomActionListener -> chatRoomActionListener
147 149 io.rong.imlib.RongIMClient$OnReceiveMessageListener onReceiveMessageListener -> onReceiveMessageListener
148   - 53:55:io.rong.imlib.Chat getInstance() -> getInstance
149   - 58:324:void <init>() -> <init>
150   - 65:68:void init(android.content.Context,java.lang.String,java.lang.String) -> init
151   - 71:91:void connect(io.rong.imlib.model.CNUserInfo) -> connect
152   - 95:100:void getToken(io.rong.imlib.model.CNUserInfo,io.rong.imlib.network.HttpUtil$OnResponse) -> getToken
153   - 104:124:void connect(java.lang.String) -> connect
154   - 128:130:void disconnect(boolean) -> disconnect
155   - 134:148:void joinChatRoom(java.lang.String,int) -> joinChatRoom
156   - 152:164:void joinExistChatRoom(java.lang.String,int) -> joinExistChatRoom
157   - 168:181:void quitChatRoom() -> quitChatRoom
158   - 185:187:void sendChatRoomMessage(java.lang.String) -> sendChatRoomMessage
159   - 190:220:void sendChatRoomMessage(io.rong.imlib.model.MessageContent) -> sendChatRoomMessage
160   - 224:258:void sendPrivateMessage(java.lang.String,java.lang.String) -> sendPrivateMessage
161   - 261:262:void setConnectStatusListener(io.rong.imlib.RongIMClient$ConnectionStatusListener) -> setConnectStatusListener
162   - 295:296:void setOnReceiveMessageListener(io.rong.imlib.RongIMClient$OnReceiveMessageListener) -> setOnReceiveMessageListener
163   - 299:300:void setChatRoomActionListener(io.rong.imlib.RongIMClient$ChatRoomActionListener) -> setChatRoomActionListener
164   - 339:353:io.rong.imlib.model.CNMessage cnMessage(io.rong.imlib.model.Message) -> cnMessage
165   - 358:373:void getLatestMessages(java.lang.String,int) -> getLatestMessages
166   - 376:378:void setConnectStatusListener(io.rong.imlib.base.IChat$OnConnectStatusListener) -> setConnectStatusListener
167   - 381:383:void setOnChatRoomActionListener(io.rong.imlib.base.IChat$OnChatRoomActionListener) -> setOnChatRoomActionListener
168   - 386:388:void setOnMessageListener(io.rong.imlib.base.IChat$OnMessageListener) -> setOnMessageListener
169   - 391:393:void setOnSendMessageListener(io.rong.imlib.base.IChat$OnSendMessageListener) -> setOnSendMessageListener
170   - 396:397:void setOnConnectionListener(io.rong.imlib.base.IChat$OnConnectListener) -> setOnConnectionListener
171   - 400:401:void setOnOperationListener(io.rong.imlib.base.IChat$OnOperationListener) -> setOnOperationListener
172   - 404:405:void setOnResultListener(io.rong.imlib.base.IChat$OnResultListener) -> setOnResultListener
173   - 408:409:void setOnLatestMessageListener(io.rong.imlib.base.IChat$OnLatestMessageListener) -> setOnLatestMessageListener
174   - 412:412:io.rong.imlib.model.UserInfo getCurrentUser() -> getCurrentUser
175   - 416:417:void setCurrentUser(io.rong.imlib.model.UserInfo) -> setCurrentUser
  150 + 57:59:io.rong.imlib.Chat getInstance() -> getInstance
  151 + 62:356:void <init>() -> <init>
  152 + 69:71:void init(android.content.Context) -> init
  153 + 77:105:void connect(io.rong.imlib.model.CNUserInfo) -> connect
  154 + 109:114:void getToken(io.rong.imlib.model.CNUserInfo,io.rong.imlib.network.HttpUtil$OnResponse) -> getToken
  155 + 118:138:void connect(java.lang.String) -> connect
  156 + 142:144:void disconnect(boolean) -> disconnect
  157 + 148:163:void joinChatRoom(java.lang.String,int) -> joinChatRoom
  158 + 167:181:void joinExistChatRoom(java.lang.String,int) -> joinExistChatRoom
  159 + 185:203:void quitChatRoom(java.lang.String) -> quitChatRoom
  160 + 207:213:void sendMessage(java.lang.String,java.lang.String,java.lang.String) -> sendMessage
  161 + 217:220:void exchangeUser(io.rong.imlib.model.CNUserInfo) -> exchangeUser
  162 + 223:254:void sendChatRoomMessage(java.lang.String,io.rong.imlib.model.MessageContent) -> sendChatRoomMessage
  163 + 258:290:void sendPrivateMessage(java.lang.String,io.rong.imlib.model.MessageContent) -> sendPrivateMessage
  164 + 293:294:void setConnectStatusListener(io.rong.imlib.RongIMClient$ConnectionStatusListener) -> setConnectStatusListener
  165 + 327:328:void setOnReceiveMessageListener(io.rong.imlib.RongIMClient$OnReceiveMessageListener) -> setOnReceiveMessageListener
  166 + 331:332:void setChatRoomActionListener(io.rong.imlib.RongIMClient$ChatRoomActionListener) -> setChatRoomActionListener
  167 + 371:385:io.rong.imlib.model.CNMessage cnMessage(io.rong.imlib.model.Message) -> cnMessage
  168 + 390:405:void getLatestMessages(java.lang.String,int) -> getLatestMessages
  169 + 408:410:void setConnectStatusListener(io.rong.imlib.base.IChat$OnConnectStatusListener) -> setConnectStatusListener
  170 + 413:415:void setOnChatRoomActionListener(io.rong.imlib.base.IChat$OnChatRoomActionListener) -> setOnChatRoomActionListener
  171 + 418:420:void setOnMessageListener(io.rong.imlib.base.IChat$OnMessageListener) -> setOnMessageListener
  172 + 423:425:void setOnSendMessageListener(io.rong.imlib.base.IChat$OnSendMessageListener) -> setOnSendMessageListener
  173 + 428:429:void setOnConnectionListener(io.rong.imlib.base.IChat$OnConnectListener) -> setOnConnectionListener
  174 + 432:433:void setOnOperationListener(io.rong.imlib.base.IChat$OnOperationListener) -> setOnOperationListener
  175 + 436:437:void setOnResultListener(io.rong.imlib.base.IChat$OnResultListener) -> setOnResultListener
  176 + 440:441:void setOnLatestMessageListener(io.rong.imlib.base.IChat$OnLatestMessageListener) -> setOnLatestMessageListener
  177 + 444:444:io.rong.imlib.model.UserInfo getCurrentUser() -> getCurrentUser
  178 + 448:449:void setCurrentUser(io.rong.imlib.model.UserInfo) -> setCurrentUser
  179 + 452:452:io.rong.imlib.model.CNUserInfo getCurrentCNUser() -> getCurrentCNUser
  180 + 457:460:void modifyUser(java.lang.String,java.lang.String) -> modifyUser
176 181 27:27:io.rong.imlib.base.IChat$OnConnectListener access$000(io.rong.imlib.Chat) -> access$000
177 182 27:27:io.rong.imlib.base.IChat$OnOperationListener access$100(io.rong.imlib.Chat) -> access$100
178 183 27:27:io.rong.imlib.base.IChat$OnSendMessageListener access$200(io.rong.imlib.Chat) -> access$200
... ... @@ -182,100 +187,100 @@ io.rong.imlib.Chat -&gt; io.rong.imlib.Chat:
182 187 27:27:io.rong.imlib.base.IChat$OnChatRoomActionListener access$600(io.rong.imlib.Chat) -> access$600
183 188 27:27:io.rong.imlib.base.IChat$OnMessageListener access$700(io.rong.imlib.Chat) -> access$700
184 189 27:27:io.rong.imlib.base.IChat$OnLatestMessageListener access$800(io.rong.imlib.Chat) -> access$800
  190 + 48:49:void <clinit>() -> <clinit>
185 191 io.rong.imlib.Chat$1 -> io.rong.imlib.Chat$1:
186 192 io.rong.imlib.Chat this$0 -> this$0
187   - 76:76:void <init>(io.rong.imlib.Chat) -> <init>
188   - 79:89:void onResponse(int,java.lang.String) -> onResponse
  193 + 90:90:void <init>(io.rong.imlib.Chat) -> <init>
  194 + 93:103:void onResponse(int,java.lang.String) -> onResponse
189 195 io.rong.imlib.Chat$10 -> io.rong.imlib.Chat$10:
190 196 io.rong.imlib.Chat this$0 -> this$0
191   - 264:264:void <init>(io.rong.imlib.Chat) -> <init>
192   - 268:291:void onChanged(io.rong.imlib.RongIMClient$ConnectionStatusListener$ConnectionStatus) -> onChanged
  197 + 296:296:void <init>(io.rong.imlib.Chat) -> <init>
  198 + 300:323:void onChanged(io.rong.imlib.RongIMClient$ConnectionStatusListener$ConnectionStatus) -> onChanged
193 199 io.rong.imlib.Chat$11 -> io.rong.imlib.Chat$11:
194 200 io.rong.imlib.Chat this$0 -> this$0
195   - 302:302:void <init>(io.rong.imlib.Chat) -> <init>
196   - 305:306:void onJoining(java.lang.String) -> onJoining
197   - 310:311:void onJoined(java.lang.String) -> onJoined
198   - 315:316:void onQuited(java.lang.String) -> onQuited
199   - 320:321:void onError(java.lang.String,io.rong.imlib.RongIMClient$ErrorCode) -> onError
  201 + 334:334:void <init>(io.rong.imlib.Chat) -> <init>
  202 + 337:338:void onJoining(java.lang.String) -> onJoining
  203 + 342:343:void onJoined(java.lang.String) -> onJoined
  204 + 347:348:void onQuited(java.lang.String) -> onQuited
  205 + 352:353:void onError(java.lang.String,io.rong.imlib.RongIMClient$ErrorCode) -> onError
200 206 io.rong.imlib.Chat$12 -> io.rong.imlib.Chat$12:
201 207 io.rong.imlib.Chat this$0 -> this$0
202   - 324:324:void <init>(io.rong.imlib.Chat) -> <init>
203   - 328:329:boolean onReceived(io.rong.imlib.model.Message,int) -> onReceived
  208 + 356:356:void <init>(io.rong.imlib.Chat) -> <init>
  209 + 360:361:boolean onReceived(io.rong.imlib.model.Message,int) -> onReceived
204 210 io.rong.imlib.Chat$13 -> io.rong.imlib.Chat$13:
205 211 io.rong.imlib.Chat this$0 -> this$0
206   - 358:358:void <init>(io.rong.imlib.Chat) -> <init>
207   - 361:366:void onSuccess(java.util.List) -> onSuccess
208   - 370:371:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
209   - 358:358:void onSuccess(java.lang.Object) -> onSuccess
  212 + 390:390:void <init>(io.rong.imlib.Chat) -> <init>
  213 + 393:398:void onSuccess(java.util.List) -> onSuccess
  214 + 402:403:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
  215 + 390:390:void onSuccess(java.lang.Object) -> onSuccess
210 216 io.rong.imlib.Chat$14 -> io.rong.imlib.Chat$14:
211 217 int[] $SwitchMap$io$rong$imlib$RongIMClient$ConnectionStatusListener$ConnectionStatus -> $SwitchMap$io$rong$imlib$RongIMClient$ConnectionStatusListener$ConnectionStatus
212   - 268:268:void <clinit>() -> <clinit>
  218 + 300:300:void <clinit>() -> <clinit>
213 219 io.rong.imlib.Chat$2 -> io.rong.imlib.Chat$2:
214 220 io.rong.imlib.Chat this$0 -> this$0
215   - 104:104:void <init>(io.rong.imlib.Chat) -> <init>
216   - 108:109:void onTokenIncorrect() -> onTokenIncorrect
217   - 114:116:void onSuccess(java.lang.String) -> onSuccess
218   - 121:122:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
219   - 104:104:void onSuccess(java.lang.Object) -> onSuccess
  221 + 118:118:void <init>(io.rong.imlib.Chat) -> <init>
  222 + 122:123:void onTokenIncorrect() -> onTokenIncorrect
  223 + 128:130:void onSuccess(java.lang.String) -> onSuccess
  224 + 135:136:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
  225 + 118:118:void onSuccess(java.lang.Object) -> onSuccess
220 226 io.rong.imlib.Chat$3 -> io.rong.imlib.Chat$3:
221 227 io.rong.imlib.Chat this$0 -> this$0
222   - 135:135:void <init>(io.rong.imlib.Chat) -> <init>
223   - 139:140:void onSuccess() -> onSuccess
224   - 145:146:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
  228 + 150:150:void <init>(io.rong.imlib.Chat) -> <init>
  229 + 154:155:void onSuccess() -> onSuccess
  230 + 160:161:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
225 231 io.rong.imlib.Chat$4 -> io.rong.imlib.Chat$4:
226 232 io.rong.imlib.Chat this$0 -> this$0
227   - 153:153:void <init>(io.rong.imlib.Chat) -> <init>
228   - 156:157:void onSuccess() -> onSuccess
229   - 161:162:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
  233 + 170:170:void <init>(io.rong.imlib.Chat) -> <init>
  234 + 173:174:void onSuccess() -> onSuccess
  235 + 178:179:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
230 236 io.rong.imlib.Chat$5 -> io.rong.imlib.Chat$5:
231 237 io.rong.imlib.Chat this$0 -> this$0
232   - 168:168:void <init>(io.rong.imlib.Chat) -> <init>
233   - 172:173:void onSuccess() -> onSuccess
234   - 178:179:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
  238 + 190:190:void <init>(io.rong.imlib.Chat) -> <init>
  239 + 194:195:void onSuccess() -> onSuccess
  240 + 200:201:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
235 241 io.rong.imlib.Chat$6 -> io.rong.imlib.Chat$6:
236 242 io.rong.imlib.Chat this$0 -> this$0
237   - 196:196:void <init>(io.rong.imlib.Chat) -> <init>
238   - 200:201:void onError(java.lang.Integer,io.rong.imlib.RongIMClient$ErrorCode) -> onError
239   - 206:207:void onSuccess(java.lang.Integer) -> onSuccess
240   - 196:196:void onSuccess(java.lang.Object) -> onSuccess
  243 + 229:229:void <init>(io.rong.imlib.Chat) -> <init>
  244 + 233:234:void onError(java.lang.Integer,io.rong.imlib.RongIMClient$ErrorCode) -> onError
  245 + 239:240:void onSuccess(java.lang.Integer) -> onSuccess
  246 + 229:229:void onSuccess(java.lang.Object) -> onSuccess
241 247 io.rong.imlib.Chat$7 -> io.rong.imlib.Chat$7:
242 248 io.rong.imlib.Chat this$0 -> this$0
243   - 208:208:void <init>(io.rong.imlib.Chat) -> <init>
244   - 211:212:void onSuccess(io.rong.imlib.model.Message) -> onSuccess
245   - 217:218:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
246   - 208:208:void onSuccess(java.lang.Object) -> onSuccess
  249 + 241:241:void <init>(io.rong.imlib.Chat) -> <init>
  250 + 245:246:void onSuccess(io.rong.imlib.model.Message) -> onSuccess
  251 + 251:252:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
  252 + 241:241:void onSuccess(java.lang.Object) -> onSuccess
247 253 io.rong.imlib.Chat$8 -> io.rong.imlib.Chat$8:
248 254 io.rong.imlib.Chat this$0 -> this$0
249   - 233:233:void <init>(io.rong.imlib.Chat) -> <init>
250   - 237:238:void onError(java.lang.Integer,io.rong.imlib.RongIMClient$ErrorCode) -> onError
251   - 243:244:void onSuccess(java.lang.Integer) -> onSuccess
252   - 233:233:void onSuccess(java.lang.Object) -> onSuccess
  255 + 265:265:void <init>(io.rong.imlib.Chat) -> <init>
  256 + 269:270:void onError(java.lang.Integer,io.rong.imlib.RongIMClient$ErrorCode) -> onError
  257 + 275:276:void onSuccess(java.lang.Integer) -> onSuccess
  258 + 265:265:void onSuccess(java.lang.Object) -> onSuccess
253 259 io.rong.imlib.Chat$9 -> io.rong.imlib.Chat$9:
254 260 io.rong.imlib.Chat this$0 -> this$0
255   - 245:245:void <init>(io.rong.imlib.Chat) -> <init>
256   - 249:250:void onSuccess(io.rong.imlib.model.Message) -> onSuccess
257   - 255:256:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
258   - 245:245:void onSuccess(java.lang.Object) -> onSuccess
  261 + 277:277:void <init>(io.rong.imlib.Chat) -> <init>
  262 + 281:282:void onSuccess(io.rong.imlib.model.Message) -> onSuccess
  263 + 287:288:void onError(io.rong.imlib.RongIMClient$ErrorCode) -> onError
  264 + 277:277:void onSuccess(java.lang.Object) -> onSuccess
259 265 io.rong.imlib.ChatUtil -> io.rong.imlib.ChatUtil:
260 266 13:13:void <init>() -> <init>
261   - 15:16:void init(android.content.Context,java.lang.String,java.lang.String) -> init
262   - 19:20:void connect(java.lang.String) -> connect
263   - 23:24:void connect(io.rong.imlib.model.CNUserInfo) -> connect
264   - 27:28:void disconnect(boolean) -> disconnect
265   - 31:32:void joinExistChatRoom(java.lang.String,int) -> joinExistChatRoom
266   - 35:36:void quitChatRoom() -> quitChatRoom
267   - 39:40:void sendChatRoomMessage(java.lang.String) -> sendChatRoomMessage
268   - 43:44:void sendPrivateMessage(java.lang.String,java.lang.String) -> sendPrivateMessage
269   - 47:48:void setConnectStatusListener(io.rong.imlib.base.IChat$OnConnectStatusListener) -> setConnectStatusListener
270   - 51:52:void setOnMessageListener(io.rong.imlib.base.IChat$OnMessageListener) -> setOnMessageListener
271   - 55:56:void setOnChatRoomActionListener(io.rong.imlib.base.IChat$OnChatRoomActionListener) -> setOnChatRoomActionListener
272   - 59:60:void setOnSendMessageListener(io.rong.imlib.base.IChat$OnSendMessageListener) -> setOnSendMessageListener
273   - 63:64:void setOnConnectionListener(io.rong.imlib.base.IChat$OnConnectListener) -> setOnConnectionListener
274   - 67:68:void setOnOperationListener(io.rong.imlib.base.IChat$OnOperationListener) -> setOnOperationListener
275   - 71:72:void setOnResultListener(io.rong.imlib.base.IChat$OnResultListener) -> setOnResultListener
276   - 75:76:void getLatestMessages(java.lang.String,int) -> getLatestMessages
277   - 79:80:void setOnLatestMessageListener(io.rong.imlib.base.IChat$OnLatestMessageListener) -> setOnLatestMessageListener
278   - 83:83:io.rong.imlib.model.UserInfo currentUser() -> currentUser
  267 + 15:16:void init(android.content.Context) -> init
  268 + 19:20:void connect(io.rong.imlib.model.CNUserInfo) -> connect
  269 + 23:24:void disconnect(boolean) -> disconnect
  270 + 27:28:void joinExistChatRoom(java.lang.String,int) -> joinExistChatRoom
  271 + 31:32:void quitChatRoom(java.lang.String) -> quitChatRoom
  272 + 35:36:void sendMessage(java.lang.String,java.lang.String,java.lang.String) -> sendMessage
  273 + 39:40:void exchangeUser(io.rong.imlib.model.CNUserInfo) -> exchangeUser
  274 + 43:44:void setConnectStatusListener(io.rong.imlib.base.IChat$OnConnectStatusListener) -> setConnectStatusListener
  275 + 47:48:void setOnMessageListener(io.rong.imlib.base.IChat$OnMessageListener) -> setOnMessageListener
  276 + 51:52:void setOnChatRoomActionListener(io.rong.imlib.base.IChat$OnChatRoomActionListener) -> setOnChatRoomActionListener
  277 + 55:56:void setOnSendMessageListener(io.rong.imlib.base.IChat$OnSendMessageListener) -> setOnSendMessageListener
  278 + 59:60:void setOnConnectionListener(io.rong.imlib.base.IChat$OnConnectListener) -> setOnConnectionListener
  279 + 63:64:void setOnOperationListener(io.rong.imlib.base.IChat$OnOperationListener) -> setOnOperationListener
  280 + 67:68:void setOnResultListener(io.rong.imlib.base.IChat$OnResultListener) -> setOnResultListener
  281 + 71:72:void getLatestMessages(java.lang.String,int) -> getLatestMessages
  282 + 75:76:void setOnLatestMessageListener(io.rong.imlib.base.IChat$OnLatestMessageListener) -> setOnLatestMessageListener
  283 + 79:80:void modifyUser(java.lang.String,java.lang.String) -> modifyUser
279 284 io.rong.imlib.ConnectChangeReceiver -> io.rong.imlib.ConnectChangeReceiver:
280 285 java.lang.String TAG -> TAG
281 286 java.lang.String RECONNECT_ACTION -> RECONNECT_ACTION
... ... @@ -4461,6 +4466,8 @@ io.rong.imlib.base.IChat -&gt; io.rong.imlib.base.IChat:
4461 4466 int SUCCESS_QUIT_CHATROOM -> SUCCESS_QUIT_CHATROOM
4462 4467 int SUCCESS_SEND_MESSAGE -> SUCCESS_SEND_MESSAGE
4463 4468 int RECEIVE -> RECEIVE
  4469 + java.lang.String PRIVATE -> PRIVATE
  4470 + java.lang.String CHATROOM -> CHATROOM
4464 4471 java.lang.String MSG_TOKEN_INCORRECT -> MSG_TOKEN_INCORRECT
4465 4472 java.lang.String MSG_SUCCESS_CONNECT -> MSG_SUCCESS_CONNECT
4466 4473 java.lang.String MSG_SUCCESS_JOIN_CHATROOM -> MSG_SUCCESS_JOIN_CHATROOM
... ... @@ -4475,14 +4482,14 @@ io.rong.imlib.base.IChat -&gt; io.rong.imlib.base.IChat:
4475 4482 java.lang.String STATUS_KICKED_OFFLINE_BY_OTHER_CLIENT -> STATUS_KICKED_OFFLINE_BY_OTHER_CLIENT
4476 4483 java.lang.String STATUS_TOKEN_INCORRECT -> STATUS_TOKEN_INCORRECT
4477 4484 java.lang.String STATUS_SERVER_INVALID -> STATUS_SERVER_INVALID
4478   - void init(android.content.Context,java.lang.String,java.lang.String) -> init
  4485 + void init(android.content.Context) -> init
4479 4486 void connect(io.rong.imlib.model.CNUserInfo) -> connect
4480   - void connect(java.lang.String) -> connect
4481 4487 void disconnect(boolean) -> disconnect
4482 4488 void joinExistChatRoom(java.lang.String,int) -> joinExistChatRoom
4483   - void quitChatRoom() -> quitChatRoom
4484   - void sendChatRoomMessage(java.lang.String) -> sendChatRoomMessage
4485   - void sendPrivateMessage(java.lang.String,java.lang.String) -> sendPrivateMessage
  4489 + void quitChatRoom(java.lang.String) -> quitChatRoom
  4490 + void sendMessage(java.lang.String,java.lang.String,java.lang.String) -> sendMessage
  4491 + void modifyUser(java.lang.String,java.lang.String) -> modifyUser
  4492 + void exchangeUser(io.rong.imlib.model.CNUserInfo) -> exchangeUser
4486 4493 void setConnectStatusListener(io.rong.imlib.base.IChat$OnConnectStatusListener) -> setConnectStatusListener
4487 4494 void setOnMessageListener(io.rong.imlib.base.IChat$OnMessageListener) -> setOnMessageListener
4488 4495 void setOnChatRoomActionListener(io.rong.imlib.base.IChat$OnChatRoomActionListener) -> setOnChatRoomActionListener
... ... @@ -5381,14 +5388,14 @@ io.rong.imlib.model.CNUserInfo -&gt; io.rong.imlib.model.CNUserInfo:
5381 5388 java.lang.String userId -> userId
5382 5389 java.lang.String userName -> userName
5383 5390 java.lang.String headUrl -> headUrl
5384   - 16:18:void <init>() -> <init>
5385   - 20:28:void <init>(java.lang.String,java.lang.String,java.lang.String) -> <init>
5386   - 31:31:java.lang.String getUserId() -> getUserId
5387   - 35:36:void setUserId(java.lang.String) -> setUserId
5388   - 39:39:java.lang.String getUserName() -> getUserName
5389   - 43:44:void setUserName(java.lang.String) -> setUserName
5390   - 47:47:java.lang.String getHeadUrl() -> getHeadUrl
5391   - 51:52:void setHeadUrl(java.lang.String) -> setHeadUrl
  5391 + 18:20:void <init>() -> <init>
  5392 + 22:30:void <init>(java.lang.String,java.lang.String,java.lang.String) -> <init>
  5393 + 33:33:java.lang.String getUserId() -> getUserId
  5394 + 37:38:void setUserId(java.lang.String) -> setUserId
  5395 + 41:41:java.lang.String getUserName() -> getUserName
  5396 + 45:46:void setUserName(java.lang.String) -> setUserName
  5397 + 49:49:java.lang.String getHeadUrl() -> getHeadUrl
  5398 + 53:54:void setHeadUrl(java.lang.String) -> setHeadUrl
5392 5399 io.rong.imlib.model.CSCustomServiceInfo -> io.rong.imlib.model.CSCustomServiceInfo:
5393 5400 java.lang.String TAG -> TAG
5394 5401 java.lang.String userId -> userId
... ... @@ -6577,7 +6584,7 @@ io.rong.imlib.receiver.SealNotificationReceiver -&gt; io.rong.imlib.receiver.SealNo
6577 6584 13:13:void <init>() -> <init>
6578 6585 19:19:boolean onNotificationMessageArrived(android.content.Context,io.rong.push.notification.PushNotificationMessage) -> onNotificationMessageArrived
6579 6586 24:24:boolean onNotificationMessageClicked(android.content.Context,io.rong.push.notification.PushNotificationMessage) -> onNotificationMessageClicked
6580   - 28:42:io.rong.imlib.model.CNNotificationMessage test(io.rong.imlib.model.CNNotificationMessage,io.rong.push.notification.PushNotificationMessage) -> test
  6587 + 28:42:io.rong.imlib.model.CNNotificationMessage transform(io.rong.imlib.model.CNNotificationMessage,io.rong.push.notification.PushNotificationMessage) -> transform
6581 6588 boolean onNotificationMessageArrived(android.content.Context,io.rong.imlib.model.CNNotificationMessage) -> onNotificationMessageArrived
6582 6589 boolean onNotificationMessageClicked(android.content.Context,io.rong.imlib.model.CNNotificationMessage) -> onNotificationMessageClicked
6583 6590 15:15:void <clinit>() -> <clinit>
... ...
IMLib/build/outputs/mapping/release/seeds.txt
... ... @@ -130,6 +130,7 @@ io.rong.imlib.BuildConfig: BuildConfig()
130 130 io.rong.imlib.Chat
131 131 io.rong.imlib.Chat: io.rong.imlib.model.UserInfo currentUser
132 132 io.rong.imlib.Chat: io.rong.imlib.model.CNUserInfo currentCNUser
  133 +io.rong.imlib.Chat: int defMessageCount
133 134 io.rong.imlib.Chat: java.lang.String currentRoomId
134 135 io.rong.imlib.Chat: io.rong.imlib.base.IChat$OnConnectStatusListener mConnectStatusListener
135 136 io.rong.imlib.Chat: io.rong.imlib.base.IChat$OnMessageListener mOnMessageListener
... ... @@ -142,22 +143,24 @@ io.rong.imlib.Chat: io.rong.imlib.base.IChat$OnLatestMessageListener mOnLatestMe
142 143 io.rong.imlib.Chat: java.lang.String APP_KEY
143 144 io.rong.imlib.Chat: java.lang.String APP_SECRET
144 145 io.rong.imlib.Chat: io.rong.imlib.Chat chat
  146 +io.rong.imlib.Chat: java.util.List roomIdList
145 147 io.rong.imlib.Chat: io.rong.imlib.RongIMClient$ConnectionStatusListener connectionStatusListener
146 148 io.rong.imlib.Chat: io.rong.imlib.RongIMClient$ChatRoomActionListener chatRoomActionListener
147 149 io.rong.imlib.Chat: io.rong.imlib.RongIMClient$OnReceiveMessageListener onReceiveMessageListener
148 150 io.rong.imlib.Chat: io.rong.imlib.Chat getInstance()
149 151 io.rong.imlib.Chat: Chat()
150   -io.rong.imlib.Chat: void init(android.content.Context,java.lang.String,java.lang.String)
  152 +io.rong.imlib.Chat: void init(android.content.Context)
151 153 io.rong.imlib.Chat: void connect(io.rong.imlib.model.CNUserInfo)
152 154 io.rong.imlib.Chat: void getToken(io.rong.imlib.model.CNUserInfo,io.rong.imlib.network.HttpUtil$OnResponse)
153 155 io.rong.imlib.Chat: void connect(java.lang.String)
154 156 io.rong.imlib.Chat: void disconnect(boolean)
155 157 io.rong.imlib.Chat: void joinChatRoom(java.lang.String,int)
156 158 io.rong.imlib.Chat: void joinExistChatRoom(java.lang.String,int)
157   -io.rong.imlib.Chat: void quitChatRoom()
158   -io.rong.imlib.Chat: void sendChatRoomMessage(java.lang.String)
159   -io.rong.imlib.Chat: void sendChatRoomMessage(io.rong.imlib.model.MessageContent)
160   -io.rong.imlib.Chat: void sendPrivateMessage(java.lang.String,java.lang.String)
  159 +io.rong.imlib.Chat: void quitChatRoom(java.lang.String)
  160 +io.rong.imlib.Chat: void sendMessage(java.lang.String,java.lang.String,java.lang.String)
  161 +io.rong.imlib.Chat: void exchangeUser(io.rong.imlib.model.CNUserInfo)
  162 +io.rong.imlib.Chat: void sendChatRoomMessage(java.lang.String,io.rong.imlib.model.MessageContent)
  163 +io.rong.imlib.Chat: void sendPrivateMessage(java.lang.String,io.rong.imlib.model.MessageContent)
161 164 io.rong.imlib.Chat: void setConnectStatusListener(io.rong.imlib.RongIMClient$ConnectionStatusListener)
162 165 io.rong.imlib.Chat: void setOnReceiveMessageListener(io.rong.imlib.RongIMClient$OnReceiveMessageListener)
163 166 io.rong.imlib.Chat: void setChatRoomActionListener(io.rong.imlib.RongIMClient$ChatRoomActionListener)
... ... @@ -173,6 +176,8 @@ io.rong.imlib.Chat: void setOnResultListener(io.rong.imlib.base.IChat$OnResultLi
173 176 io.rong.imlib.Chat: void setOnLatestMessageListener(io.rong.imlib.base.IChat$OnLatestMessageListener)
174 177 io.rong.imlib.Chat: io.rong.imlib.model.UserInfo getCurrentUser()
175 178 io.rong.imlib.Chat: void setCurrentUser(io.rong.imlib.model.UserInfo)
  179 +io.rong.imlib.Chat: io.rong.imlib.model.CNUserInfo getCurrentCNUser()
  180 +io.rong.imlib.Chat: void modifyUser(java.lang.String,java.lang.String)
176 181 io.rong.imlib.Chat: io.rong.imlib.base.IChat$OnConnectListener access$000(io.rong.imlib.Chat)
177 182 io.rong.imlib.Chat: io.rong.imlib.base.IChat$OnOperationListener access$100(io.rong.imlib.Chat)
178 183 io.rong.imlib.Chat: io.rong.imlib.base.IChat$OnSendMessageListener access$200(io.rong.imlib.Chat)
... ... @@ -182,6 +187,7 @@ io.rong.imlib.Chat: io.rong.imlib.base.IChat$OnConnectStatusListener access$500(
182 187 io.rong.imlib.Chat: io.rong.imlib.base.IChat$OnChatRoomActionListener access$600(io.rong.imlib.Chat)
183 188 io.rong.imlib.Chat: io.rong.imlib.base.IChat$OnMessageListener access$700(io.rong.imlib.Chat)
184 189 io.rong.imlib.Chat: io.rong.imlib.base.IChat$OnLatestMessageListener access$800(io.rong.imlib.Chat)
  190 +io.rong.imlib.Chat: void <clinit>()
185 191 io.rong.imlib.Chat$1
186 192 io.rong.imlib.Chat$1: io.rong.imlib.Chat this$0
187 193 io.rong.imlib.Chat$1: Chat$1(io.rong.imlib.Chat)
... ... @@ -258,14 +264,13 @@ io.rong.imlib.Chat$9: void onError(io.rong.imlib.RongIMClient$ErrorCode)
258 264 io.rong.imlib.Chat$9: void onSuccess(java.lang.Object)
259 265 io.rong.imlib.ChatUtil
260 266 io.rong.imlib.ChatUtil: ChatUtil()
261   -io.rong.imlib.ChatUtil: void init(android.content.Context,java.lang.String,java.lang.String)
262   -io.rong.imlib.ChatUtil: void connect(java.lang.String)
  267 +io.rong.imlib.ChatUtil: void init(android.content.Context)
263 268 io.rong.imlib.ChatUtil: void connect(io.rong.imlib.model.CNUserInfo)
264 269 io.rong.imlib.ChatUtil: void disconnect(boolean)
265 270 io.rong.imlib.ChatUtil: void joinExistChatRoom(java.lang.String,int)
266   -io.rong.imlib.ChatUtil: void quitChatRoom()
267   -io.rong.imlib.ChatUtil: void sendChatRoomMessage(java.lang.String)
268   -io.rong.imlib.ChatUtil: void sendPrivateMessage(java.lang.String,java.lang.String)
  271 +io.rong.imlib.ChatUtil: void quitChatRoom(java.lang.String)
  272 +io.rong.imlib.ChatUtil: void sendMessage(java.lang.String,java.lang.String,java.lang.String)
  273 +io.rong.imlib.ChatUtil: void exchangeUser(io.rong.imlib.model.CNUserInfo)
269 274 io.rong.imlib.ChatUtil: void setConnectStatusListener(io.rong.imlib.base.IChat$OnConnectStatusListener)
270 275 io.rong.imlib.ChatUtil: void setOnMessageListener(io.rong.imlib.base.IChat$OnMessageListener)
271 276 io.rong.imlib.ChatUtil: void setOnChatRoomActionListener(io.rong.imlib.base.IChat$OnChatRoomActionListener)
... ... @@ -275,7 +280,7 @@ io.rong.imlib.ChatUtil: void setOnOperationListener(io.rong.imlib.base.IChat$OnO
275 280 io.rong.imlib.ChatUtil: void setOnResultListener(io.rong.imlib.base.IChat$OnResultListener)
276 281 io.rong.imlib.ChatUtil: void getLatestMessages(java.lang.String,int)
277 282 io.rong.imlib.ChatUtil: void setOnLatestMessageListener(io.rong.imlib.base.IChat$OnLatestMessageListener)
278   -io.rong.imlib.ChatUtil: io.rong.imlib.model.UserInfo currentUser()
  283 +io.rong.imlib.ChatUtil: void modifyUser(java.lang.String,java.lang.String)
279 284 io.rong.imlib.ConnectChangeReceiver
280 285 io.rong.imlib.ConnectChangeReceiver: java.lang.String TAG
281 286 io.rong.imlib.ConnectChangeReceiver: java.lang.String RECONNECT_ACTION
... ... @@ -4461,6 +4466,8 @@ io.rong.imlib.base.IChat: int SUCCESS_JOIN_EXIST_CHATROOM
4461 4466 io.rong.imlib.base.IChat: int SUCCESS_QUIT_CHATROOM
4462 4467 io.rong.imlib.base.IChat: int SUCCESS_SEND_MESSAGE
4463 4468 io.rong.imlib.base.IChat: int RECEIVE
  4469 +io.rong.imlib.base.IChat: java.lang.String PRIVATE
  4470 +io.rong.imlib.base.IChat: java.lang.String CHATROOM
4464 4471 io.rong.imlib.base.IChat: java.lang.String MSG_TOKEN_INCORRECT
4465 4472 io.rong.imlib.base.IChat: java.lang.String MSG_SUCCESS_CONNECT
4466 4473 io.rong.imlib.base.IChat: java.lang.String MSG_SUCCESS_JOIN_CHATROOM
... ... @@ -4475,14 +4482,14 @@ io.rong.imlib.base.IChat: java.lang.String STATUS_DISCONNECTED
4475 4482 io.rong.imlib.base.IChat: java.lang.String STATUS_KICKED_OFFLINE_BY_OTHER_CLIENT
4476 4483 io.rong.imlib.base.IChat: java.lang.String STATUS_TOKEN_INCORRECT
4477 4484 io.rong.imlib.base.IChat: java.lang.String STATUS_SERVER_INVALID
4478   -io.rong.imlib.base.IChat: void init(android.content.Context,java.lang.String,java.lang.String)
  4485 +io.rong.imlib.base.IChat: void init(android.content.Context)
4479 4486 io.rong.imlib.base.IChat: void connect(io.rong.imlib.model.CNUserInfo)
4480   -io.rong.imlib.base.IChat: void connect(java.lang.String)
4481 4487 io.rong.imlib.base.IChat: void disconnect(boolean)
4482 4488 io.rong.imlib.base.IChat: void joinExistChatRoom(java.lang.String,int)
4483   -io.rong.imlib.base.IChat: void quitChatRoom()
4484   -io.rong.imlib.base.IChat: void sendChatRoomMessage(java.lang.String)
4485   -io.rong.imlib.base.IChat: void sendPrivateMessage(java.lang.String,java.lang.String)
  4489 +io.rong.imlib.base.IChat: void quitChatRoom(java.lang.String)
  4490 +io.rong.imlib.base.IChat: void sendMessage(java.lang.String,java.lang.String,java.lang.String)
  4491 +io.rong.imlib.base.IChat: void modifyUser(java.lang.String,java.lang.String)
  4492 +io.rong.imlib.base.IChat: void exchangeUser(io.rong.imlib.model.CNUserInfo)
4486 4493 io.rong.imlib.base.IChat: void setConnectStatusListener(io.rong.imlib.base.IChat$OnConnectStatusListener)
4487 4494 io.rong.imlib.base.IChat: void setOnMessageListener(io.rong.imlib.base.IChat$OnMessageListener)
4488 4495 io.rong.imlib.base.IChat: void setOnChatRoomActionListener(io.rong.imlib.base.IChat$OnChatRoomActionListener)
... ... @@ -6577,7 +6584,7 @@ io.rong.imlib.receiver.SealNotificationReceiver: io.rong.imlib.model.CNNotificat
6577 6584 io.rong.imlib.receiver.SealNotificationReceiver: SealNotificationReceiver()
6578 6585 io.rong.imlib.receiver.SealNotificationReceiver: boolean onNotificationMessageArrived(android.content.Context,io.rong.push.notification.PushNotificationMessage)
6579 6586 io.rong.imlib.receiver.SealNotificationReceiver: boolean onNotificationMessageClicked(android.content.Context,io.rong.push.notification.PushNotificationMessage)
6580   -io.rong.imlib.receiver.SealNotificationReceiver: io.rong.imlib.model.CNNotificationMessage test(io.rong.imlib.model.CNNotificationMessage,io.rong.push.notification.PushNotificationMessage)
  6587 +io.rong.imlib.receiver.SealNotificationReceiver: io.rong.imlib.model.CNNotificationMessage transform(io.rong.imlib.model.CNNotificationMessage,io.rong.push.notification.PushNotificationMessage)
6581 6588 io.rong.imlib.receiver.SealNotificationReceiver: boolean onNotificationMessageArrived(android.content.Context,io.rong.imlib.model.CNNotificationMessage)
6582 6589 io.rong.imlib.receiver.SealNotificationReceiver: boolean onNotificationMessageClicked(android.content.Context,io.rong.imlib.model.CNNotificationMessage)
6583 6590 io.rong.imlib.receiver.SealNotificationReceiver: void <clinit>()
... ...
IMLib/src/main/java/io.rong.imlib/Chat.java
... ... @@ -2,13 +2,13 @@ package io.rong.imlib;
2 2  
3 3 import android.content.Context;
4 4 import android.net.Uri;
5   -import android.util.Log;
6 5  
7 6 import org.json.JSONException;
8 7 import org.json.JSONObject;
9 8  
10 9 import java.util.ArrayList;
11 10 import java.util.List;
  11 +import java.util.UUID;
12 12  
13 13 import io.rong.imlib.base.IChat;
14 14 import io.rong.imlib.model.CNMessage;
... ... @@ -30,6 +30,8 @@ public class Chat implements IChat {
30 30  
31 31 public static CNUserInfo currentCNUser;
32 32  
  33 + public static int defMessageCount;
  34 +
33 35 //当前聊天室房间id
34 36 private static String currentRoomId;
35 37  
... ... @@ -43,12 +45,14 @@ public class Chat implements IChat {
43 45 private OnResultListener mOnResultListener;
44 46 private OnLatestMessageListener mOnLatestMessageListener;
45 47  
46   - private static String APP_KEY;
47   - private static String APP_SECRET;
  48 + private static String APP_KEY = "e5t4ouvpe5qea";
  49 + private static String APP_SECRET = "N16VJFIPE22p";
48 50  
49 51  
50 52 private static Chat chat;
51 53  
  54 + private List<String> roomIdList;
  55 +
52 56 protected static Chat getInstance() {
53 57 if (chat == null)
54 58 chat = new Chat();
... ... @@ -61,18 +65,28 @@ public class Chat implements IChat {
61 65  
62 66  
63 67 //初始化方法
64   - public void init(Context context, String appKey, String appSecret) {
65   - RongIMClient.init(context, appKey);
66   - APP_KEY = appKey;
67   - APP_SECRET = appSecret;
  68 + public void init(Context context) {
  69 + RongIMClient.init(context, APP_KEY);
  70 + roomIdList = new ArrayList<>();
68 71 }
69 72  
70 73 public void connect(CNUserInfo cnUserInfo) {
71   - String userId = cnUserInfo.getUserId() == null ? "" : cnUserInfo.getUserId();
72   - String userName = cnUserInfo.getUserName() == null ? "" : cnUserInfo.getUserName();
73   - String headUrl = cnUserInfo.getHeadUrl() == null ? "" : cnUserInfo.getHeadUrl();
74   - Log.e("DemoView", userId + " : " + userName + " : ");
75   - currentUser = new UserInfo(userId, userName, Uri.parse(headUrl));
  74 + String userId;
  75 + String userName;
  76 + String headUrl;
  77 + if (cnUserInfo == null) {
  78 + //TODO UUID 头像地址
  79 + userId = UUID.randomUUID().toString().replaceAll("-", "");
  80 + userName = "游客" + System.currentTimeMillis();
  81 + headUrl = "";
  82 + cnUserInfo = new CNUserInfo(userId, userName, headUrl);
  83 + currentUser = new UserInfo(userId, userName, Uri.parse(headUrl));
  84 + } else {
  85 + userId = cnUserInfo.getUserId() == null ? "" : cnUserInfo.getUserId();
  86 + userName = cnUserInfo.getUserName() == null ? "" : cnUserInfo.getUserName();
  87 + headUrl = cnUserInfo.getHeadUrl() == null ? "" : cnUserInfo.getHeadUrl();
  88 + currentUser = new UserInfo(userId, userName, Uri.parse(headUrl));
  89 + }
76 90 getToken(cnUserInfo, new HttpUtil.OnResponse() {
77 91 @Override
78 92 public void onResponse(int code, String body) {
... ... @@ -130,7 +144,8 @@ public class Chat implements IChat {
130 144 }
131 145  
132 146 //加入聊天室,如果存在则加入,如果不存在,则创建
133   - public void joinChatRoom(String roomId, int defMessageCount) {
  147 + public void joinChatRoom(String roomId, int messageCount) {
  148 + defMessageCount = messageCount;
134 149 currentRoomId = roomId;
135 150 RongIMClient.getInstance().joinChatRoom(currentRoomId, defMessageCount, new RongIMClient.OperationCallback() {
136 151 @Override
... ... @@ -148,8 +163,10 @@ public class Chat implements IChat {
148 163 }
149 164  
150 165 //加入聊天室,如果存在则加入,如果不存在则加入失败
151   - public void joinExistChatRoom(String roomId, int defMessageCount) {
  166 + public void joinExistChatRoom(String roomId, int messageCount) {
  167 + defMessageCount = messageCount;
152 168 currentRoomId = roomId;
  169 + roomIdList.add(currentRoomId);
153 170 RongIMClient.getInstance().joinChatRoom(currentRoomId, defMessageCount, new RongIMClient.OperationCallback() {
154 171 @Override
155 172 public void onSuccess() {
... ... @@ -164,8 +181,13 @@ public class Chat implements IChat {
164 181 }
165 182  
166 183 //退出聊天室,不再接收其消息
167   - public void quitChatRoom() {
168   - RongIMClient.getInstance().quitChatRoom(currentRoomId, new RongIMClient.OperationCallback() {
  184 + public void quitChatRoom(String roomId) {
  185 + for (int i = 0; i < roomIdList.size(); i++) {
  186 + if (roomIdList.get(i).equals(roomId)) {
  187 + roomIdList.remove(i);
  188 + }
  189 + }
  190 + RongIMClient.getInstance().quitChatRoom(roomId, new RongIMClient.OperationCallback() {
169 191 @Override
170 192 public void onSuccess() {
171 193 //TODO 退出聊天室成功
... ... @@ -181,18 +203,29 @@ public class Chat implements IChat {
181 203 }
182 204  
183 205 //向当前聊天室发送消息
184   - public void sendChatRoomMessage(String message) {
  206 + public void sendMessage(String conversationType, String targetId, String message) {
185 207 final TextMessage content = TextMessage.obtain(message);
186   - sendChatRoomMessage(content);
  208 + if (conversationType.equals(IChat.PRIVATE)) {
  209 + sendPrivateMessage(targetId, content);
  210 + } else if (conversationType.equals(IChat.CHATROOM)) {
  211 + sendChatRoomMessage(targetId, content);
  212 + }
187 213 }
188 214  
189   - private void sendChatRoomMessage(final MessageContent msgContent) {
  215 + //切换用户
  216 + public void exchangeUser(CNUserInfo userInfo) {
  217 + disconnect(false);
  218 + connect(userInfo);
  219 + joinChatRoom(currentRoomId, -1);
  220 + }
  221 +
  222 + private void sendChatRoomMessage(String targetId, final MessageContent msgContent) {
190 223 if (currentUser == null) {
191 224 throw new RuntimeException("currentUser should not be null.");
192 225 }
193 226  
194 227 msgContent.setUserInfo(currentUser);
195   - final Message msg = Message.obtain(currentRoomId, Conversation.ConversationType.CHATROOM, msgContent);
  228 + final Message msg = Message.obtain(targetId, Conversation.ConversationType.CHATROOM, msgContent);
196 229 RongIMClient.getInstance().sendMessage(msg, null, null, new RongIMClient.SendMessageCallback() {
197 230 @Override
198 231 public void onError(Integer integer, RongIMClient.ErrorCode errorCode) {
... ... @@ -208,6 +241,7 @@ public class Chat implements IChat {
208 241 }, new RongIMClient.ResultCallback<Message>() {
209 242 @Override
210 243 public void onSuccess(Message message) {
  244 +
211 245 mOnResultListener.onSuccess(cnMessage(message));
212 246 }
213 247  
... ... @@ -220,16 +254,14 @@ public class Chat implements IChat {
220 254 }
221 255  
222 256 //单聊
223   - public void sendPrivateMessage(String targetId, final String message) {
  257 + private void sendPrivateMessage(String targetId, final MessageContent message) {
224 258 if (currentUser == null) {
225 259 throw new RuntimeException("currentUser should not be null.");
226 260 }
227 261  
228   - TextMessage content = TextMessage.obtain(message);
229   -
230   - content.setUserInfo(currentUser);
  262 + message.setUserInfo(currentUser);
231 263  
232   - final Message msg = Message.obtain(targetId, Conversation.ConversationType.PRIVATE, content);
  264 + final Message msg = Message.obtain(targetId, Conversation.ConversationType.PRIVATE, message);
233 265 RongIMClient.getInstance().sendMessage(msg, null, null, new RongIMClient.SendMessageCallback() {
234 266 @Override
235 267 public void onError(Integer integer, RongIMClient.ErrorCode errorCode) {
... ... @@ -415,4 +447,15 @@ public class Chat implements IChat {
415 447 public void setCurrentUser(UserInfo user) {
416 448 currentUser = user;
417 449 }
  450 +
  451 + public static CNUserInfo getCurrentCNUser() {
  452 + return currentCNUser;
  453 + }
  454 +
  455 + public void modifyUser(String userName, String headUrl) {
  456 +// currentCNUser = currentCNUserInfo;
  457 + currentUser.setName(userName);
  458 + currentUser.setPortraitUri(Uri.parse(headUrl));
  459 + setCurrentUser(currentUser);
  460 + }
418 461 }
... ...
IMLib/src/main/java/io.rong.imlib/ChatUtil.java
... ... @@ -11,12 +11,8 @@ import io.rong.imlib.model.UserInfo;
11 11 */
12 12  
13 13 public class ChatUtil {
14   - public static void init(Context context, String appKey, String appSecret) {
15   - Chat.getInstance().init(context, appKey, appSecret);
16   - }
17   -
18   - public static void connect(String token) {
19   - Chat.getInstance().connect(token);
  14 + public static void init(Context context) {
  15 + Chat.getInstance().init(context);
20 16 }
21 17  
22 18 public static void connect(CNUserInfo cnUserInfo) {
... ... @@ -31,16 +27,16 @@ public class ChatUtil {
31 27 Chat.getInstance().joinExistChatRoom(roomId, defMessageCount);
32 28 }
33 29  
34   - public static void quitChatRoom() {
35   - Chat.getInstance().quitChatRoom();
  30 + public static void quitChatRoom(String roomId) {
  31 + Chat.getInstance().quitChatRoom(roomId);
36 32 }
37 33  
38   - public static void sendChatRoomMessage(String message) {
39   - Chat.getInstance().sendChatRoomMessage(message);
  34 + public static void sendMessage(String conversationType, String targetId, String message) {
  35 + Chat.getInstance().sendMessage(conversationType, targetId, message);
40 36 }
41 37  
42   - public static void sendPrivateMessage(String targetId, String message) {
43   - Chat.getInstance().sendPrivateMessage(targetId, message);
  38 + public static void exchangeUser(CNUserInfo userInfo) {
  39 + Chat.getInstance().exchangeUser(userInfo);
44 40 }
45 41  
46 42 public static void setConnectStatusListener(IChat.OnConnectStatusListener listener) {
... ... @@ -79,7 +75,7 @@ public class ChatUtil {
79 75 Chat.getInstance().setOnLatestMessageListener(listener);
80 76 }
81 77  
82   - public static UserInfo currentUser() {
83   - return Chat.getInstance().currentUser;
  78 + public static void modifyUser(String userName, String headUrl) {
  79 + Chat.getInstance().modifyUser(userName, headUrl);
84 80 }
85 81 }
... ...
IMLib/src/main/java/io.rong.imlib/base/IChat.java
... ... @@ -29,6 +29,9 @@ public interface IChat {
29 29 int SUCCESS_SEND_MESSAGE = 100005;
30 30 int RECEIVE = 100006;
31 31  
  32 + String PRIVATE = "private";
  33 + String CHATROOM = "chatRoom";
  34 +
32 35 String MSG_TOKEN_INCORRECT = "Token错误";
33 36 String MSG_SUCCESS_CONNECT = "连接成功";
34 37 String MSG_SUCCESS_JOIN_CHATROOM = "加入聊天室成功";
... ... @@ -45,42 +48,57 @@ public interface IChat {
45 48 String STATUS_TOKEN_INCORRECT = "Token incorrect.";
46 49 String STATUS_SERVER_INVALID = "Server invalid.";
47 50  
48   - void init(Context context, String appKey, String appSecret);
  51 + //初始化
  52 + void init(Context context);
49 53  
  54 + //连接服务器
50 55 void connect(CNUserInfo cnUserInfo);
51 56  
52   - void connect(String token);
53   -
  57 + //断开连接
54 58 void disconnect(boolean isReceivePush);
55 59  
  60 + //加入已经存在的聊天室
56 61 void joinExistChatRoom(String roomId, int defMessageCount);
57 62  
58   - void quitChatRoom();
  63 + //退书聊天室
  64 + void quitChatRoom(String roomId);
59 65  
60   - void sendChatRoomMessage(String message);
  66 + //发送消息
  67 + void sendMessage(String conversationType, String targetId, String message);
61 68  
62   - void sendPrivateMessage(String targetId, String message);
  69 + //更新用户信息
  70 + void modifyUser(String userName, String headUrl);
63 71  
  72 + //切换账户
  73 + void exchangeUser(CNUserInfo userInfo);
  74 +
  75 + //连接状态监听
64 76 void setConnectStatusListener(OnConnectStatusListener listener);
65 77  
  78 + //接收消息监听
66 79 void setOnMessageListener(OnMessageListener listener);
67 80  
  81 + //聊天室操作
68 82 void setOnChatRoomActionListener(OnChatRoomActionListener listener);
69 83  
  84 + //发送消息监听
70 85 void setOnSendMessageListener(OnSendMessageListener listener);
71 86  
  87 + //设置连接监听
72 88 void setOnConnectionListener(OnConnectListener listener);
73 89  
  90 + //加入与退出聊天室监听
74 91 void setOnOperationListener(OnOperationListener listener);
75 92  
  93 + //发送消息结果
76 94 void setOnResultListener(OnResultListener listener);
77 95  
  96 + //从本地获取私聊历史消息
78 97 void getLatestMessages(String targetId, int count);
79 98  
  99 + //获取历史消息监听
80 100 void setOnLatestMessageListener(OnLatestMessageListener listener);
81 101  
82   -// void setCurrentUser(UserInfo user);
83   -
84 102 interface OnConnectStatusListener {
85 103 void onConnectStatus(int what, String extra);
86 104 }
... ...
IMLib/src/main/java/io.rong.imlib/model/CNUserInfo.java
... ... @@ -3,11 +3,13 @@ package io.rong.imlib.model;
3 3 import android.net.Uri;
4 4 import android.text.TextUtils;
5 5  
  6 +import java.io.Serializable;
  7 +
6 8 /**
7 9 * Created by Lynn on 2/10/2017.
8 10 */
9 11  
10   -public class CNUserInfo {
  12 +public class CNUserInfo implements Serializable {
11 13  
12 14 private String userId;
13 15 private String userName;
... ...
IMLib/src/main/java/io.rong.imlib/receiver/SealNotificationReceiver.java
... ... @@ -16,15 +16,15 @@ public abstract class SealNotificationReceiver extends PushMessageReceiver {
16 16  
17 17 @Override
18 18 public boolean onNotificationMessageArrived(Context context, PushNotificationMessage pushNotificationMessage) {
19   - return onNotificationMessageArrived(context, test(notificationMessage, pushNotificationMessage));
  19 + return onNotificationMessageArrived(context, transform(notificationMessage, pushNotificationMessage));
20 20 }
21 21  
22 22 @Override
23 23 public boolean onNotificationMessageClicked(Context context, PushNotificationMessage pushNotificationMessage) {
24   - return onNotificationMessageClicked(context, test(notificationMessage, pushNotificationMessage));
  24 + return onNotificationMessageClicked(context, transform(notificationMessage, pushNotificationMessage));
25 25 }
26 26  
27   - private CNNotificationMessage test(CNNotificationMessage notificationMessage, PushNotificationMessage pushNotificationMessage) {
  27 + private CNNotificationMessage transform(CNNotificationMessage notificationMessage, PushNotificationMessage pushNotificationMessage) {
28 28 notificationMessage.setPushId(pushNotificationMessage.getPushId());
29 29 notificationMessage.setConversationType(pushNotificationMessage.getConversationType());
30 30 notificationMessage.setReceivedTime(pushNotificationMessage.getReceivedTime());
... ...
app/src/main/java/com/cnlive/chat/CNLiveApplication.java
... ... @@ -13,6 +13,6 @@ public class CNLiveApplication extends Application {
13 13 @Override
14 14 public void onCreate() {
15 15 super.onCreate();
16   - ChatUtil.init(this, "e5t4ouvpe5qea", "N16VJFIPE22p");
  16 + ChatUtil.init(this);
17 17 }
18 18 }
... ...
app/src/main/java/com/cnlive/chat/ui/ChatRoomActivity.java
1 1 package com.cnlive.chat.ui;
2 2  
  3 +import android.app.Activity;
  4 +import android.content.Intent;
3 5 import android.os.Handler;
4 6 import android.support.v7.app.AppCompatActivity;
5 7 import android.os.Bundle;
6 8 import android.util.Log;
7 9 import android.view.View;
  10 +import android.view.Window;
  11 +import android.widget.AdapterView;
8 12 import android.widget.Button;
9 13 import android.widget.EditText;
10 14 import android.widget.ListView;
  15 +import android.widget.Toast;
11 16  
12 17 import com.cnlive.chat.R;
13 18 import com.cnlive.chat.adapter.ChatListAdapter;
... ... @@ -25,9 +30,10 @@ public class ChatRoomActivity extends AppCompatActivity implements View.OnClickL
25 30 private ListView chatListView;
26 31 private EditText messageContent;
27 32 private Button sendMessageBtn;
28   -// private Button changeUserInfo;
  33 + private Button changeUserInfo;
  34 + private Button exchangeUser;
29 35  
30   - private String roomId;
  36 + private String roomId = "ChatRoom01";
31 37 private CNUserInfo userInfo;
32 38  
33 39 private ChatListAdapter chatListAdapter;
... ... @@ -42,9 +48,12 @@ public class ChatRoomActivity extends AppCompatActivity implements View.OnClickL
42 48 setContentView(R.layout.activity_chat_room);
43 49  
44 50 ChatUtil.setOnConnectionListener(onConnectListener);
  51 +
45 52 userInfo = new CNUserInfo("2017010102", "J", "http://7xs9j5.com1.z0.glb.clouddn.com/liveapp/guojunwang.jpg");
46   - //连接服务器
  53 +
  54 + //连接服务器 当没有用户信息时,可以传入null
47 55 ChatUtil.connect(userInfo);
  56 +// ChatUtil.connect(null);
48 57  
49 58 mHandler = new Handler(this.getMainLooper());
50 59 initView();
... ... @@ -64,13 +73,14 @@ public class ChatRoomActivity extends AppCompatActivity implements View.OnClickL
64 73 messageContent = (EditText) findViewById(R.id.message_content);
65 74 sendMessageBtn = (Button) findViewById(R.id.send_message);
66 75 sendMessageBtn.setOnClickListener(this);
67   -// changeUserInfo = (Button) findViewById(R.id.change_user_info);
68   -// changeUserInfo.setOnClickListener(this);
  76 + changeUserInfo = (Button) findViewById(R.id.change_user_info);
  77 + changeUserInfo.setOnClickListener(this);
  78 + exchangeUser = (Button) findViewById(R.id.exchange_user);
  79 + exchangeUser.setOnClickListener(this);
69 80 }
70 81  
71 82 //加入聊天室
72 83 private void joinChatRoom() {
73   - roomId = "ChatRoom01";
74 84 joinChatRoom(roomId);
75 85 }
76 86  
... ... @@ -83,12 +93,18 @@ public class ChatRoomActivity extends AppCompatActivity implements View.OnClickL
83 93 switch (v.getId()) {
84 94 case R.id.send_message:
85 95 //发送聊天室消息
86   - ChatUtil.sendChatRoomMessage(messageContent.getText().toString());
87   - messageContent.setText("");
  96 + if (messageContent.getText().toString().isEmpty()) {
  97 + Toast.makeText(this, "不能发送空消息呦~", Toast.LENGTH_SHORT).show();
  98 + } else {
  99 + ChatUtil.sendMessage(IChat.CHATROOM, roomId, messageContent.getText().toString());
  100 + messageContent.setText("");
  101 + }
  102 + break;
  103 + case R.id.change_user_info:
  104 + ChatUtil.modifyUser("安生", "");
88 105 break;
89   -// case R.id.change_user_info:
90   -// ChatUtil.currentUser().setName("Ha");
91   -// break;
  106 + case R.id.exchange_user:
  107 + ChatUtil.exchangeUser(new CNUserInfo("2017010199", "七月", ""));
92 108 }
93 109 }
94 110  
... ... @@ -126,7 +142,7 @@ public class ChatRoomActivity extends AppCompatActivity implements View.OnClickL
126 142 private IChat.OnResultListener onResultListener = new IChat.OnResultListener() {
127 143 @Override
128 144 public void onSuccess(CNMessage message) {
129   - Log.i(TAG, "ResultListener SUCCESS " + message.getContent());
  145 + Log.i(TAG, "ResultListener SUCCESS " + message.getContent() + " : " + message.getUserInfo().getUserId());
130 146 cnMessage = message;
131 147 }
132 148  
... ... @@ -166,7 +182,7 @@ public class ChatRoomActivity extends AppCompatActivity implements View.OnClickL
166 182 private IChat.OnMessageListener onMessageListener = new IChat.OnMessageListener() {
167 183 @Override
168 184 public void processMessage(final CNMessage message) {
169   - Log.e(TAG, message.getUserInfo().getUserName() + " : " + message.getContent());
  185 + Log.e(TAG, message.getUserInfo().getUserId() + " : " + message.getUserInfo().getUserName() + " : " + message.getContent());
170 186  
171 187 mHandler.post(new Runnable() {
172 188 @Override
... ... @@ -207,6 +223,12 @@ public class ChatRoomActivity extends AppCompatActivity implements View.OnClickL
207 223 break;
208 224 case IChat.KICKED_OFFLINE_BY_OTHER_CLIENT:
209 225 //用户在其他设备登录,本机会被踢掉线
  226 + mHandler.post(new Runnable() {
  227 + @Override
  228 + public void run() {
  229 + Toast.makeText(ChatRoomActivity.this, "用户在其他设备登录,你被挤掉啦T_T", Toast.LENGTH_SHORT).show();
  230 + }
  231 + });
210 232 break;
211 233 }
212 234 }
... ... @@ -270,6 +292,6 @@ public class ChatRoomActivity extends AppCompatActivity implements View.OnClickL
270 292 public void onBackPressed() {
271 293 super.onBackPressed();
272 294 //退出聊天室
273   - ChatUtil.quitChatRoom();
  295 + ChatUtil.quitChatRoom(roomId);
274 296 }
275 297 }
... ...
app/src/main/java/com/cnlive/chat/ui/PrivateChatActivity.java
... ... @@ -8,6 +8,7 @@ import android.view.View;
8 8 import android.widget.Button;
9 9 import android.widget.EditText;
10 10 import android.widget.ListView;
  11 +import android.widget.Toast;
11 12  
12 13 import com.cnlive.chat.R;
13 14 import com.cnlive.chat.adapter.ChatListAdapter;
... ... @@ -28,7 +29,7 @@ public class PrivateChatActivity extends AppCompatActivity implements View.OnCli
28 29 private EditText messageContent;
29 30 private Button sendMessageBtn;
30 31  
31   - private String targetId;
  32 + private static String targetId;
32 33  
33 34 private ChatListAdapter chatListAdapter;
34 35 private ArrayList<CNMessage> messageList = new ArrayList<>();
... ... @@ -44,10 +45,10 @@ public class PrivateChatActivity extends AppCompatActivity implements View.OnCli
44 45 setContentView(R.layout.activity_private_chat);
45 46  
46 47 userInfo = new CNUserInfo("2017010102", "J", "http://7xs9j5.com1.z0.glb.clouddn.com/liveapp/guojunwang.jpg");
47   - //连接服务器
  48 + //连接服务器 当没有用户信息时可以传入null
48 49 ChatUtil.connect(userInfo);
49   -
50 50 targetId = "2017010101";
  51 +
51 52 mHandler = new Handler();
52 53 ChatUtil.setOnResultListener(onResultListener);
53 54 ChatUtil.setOnSendMessageListener(onSendMessageListener);
... ... @@ -81,8 +82,12 @@ public class PrivateChatActivity extends AppCompatActivity implements View.OnCli
81 82 switch (v.getId()) {
82 83 case R.id.send_message:
83 84 //发送私聊消息,需要传入目标ID与发送的消息内容
84   - ChatUtil.sendPrivateMessage(targetId, messageContent.getText().toString());
85   - messageContent.setText("");
  85 + if (messageContent.getText().toString().isEmpty()) {
  86 + Toast.makeText(this, "不能发送空消息呦~", Toast.LENGTH_SHORT).show();
  87 + } else {
  88 + ChatUtil.sendMessage(IChat.PRIVATE, targetId, messageContent.getText().toString());
  89 + messageContent.setText("");
  90 + }
86 91 break;
87 92 }
88 93 }
... ...
app/src/main/res/layout/activity_chat_room.xml
... ... @@ -12,9 +12,10 @@
12 12  
13 13 <ListView
14 14 android:id="@+id/chat_list_view"
15   - android:layout_width="match_parent"
  15 + android:layout_width="200dp"
16 16 android:layout_height="300dp"
17 17 android:layout_above="@+id/edit_layout"
  18 + android:layout_alignParentTop="true"
18 19 android:divider="@null"
19 20 android:scrollbars="none"
20 21 android:transcriptMode="alwaysScroll" />
... ... @@ -42,11 +43,23 @@
42 43 android:text="发送" />
43 44 </LinearLayout>
44 45  
45   - <!--<Button-->
46   - <!--android:id="@+id/change_user_info"-->
47   - <!--android:layout_width="match_parent"-->
48   - <!--android:layout_height="wrap_content"-->
49   - <!--android:layout_above="@+id/chat_list_view"-->
50   - <!--android:text="更新用户信息" />-->
  46 + <Button
  47 + android:id="@+id/change_user_info"
  48 + android:layout_width="wrap_content"
  49 + android:layout_height="wrap_content"
  50 + android:layout_alignParentEnd="true"
  51 + android:layout_alignParentRight="true"
  52 + android:layout_alignTop="@+id/chat_list_view"
  53 + android:text="更新用户信息" />
  54 +
  55 + <Button
  56 + android:id="@+id/exchange_user"
  57 + android:layout_width="wrap_content"
  58 + android:layout_height="wrap_content"
  59 + android:layout_alignLeft="@+id/change_user_info"
  60 + android:layout_alignStart="@+id/change_user_info"
  61 + android:layout_below="@+id/change_user_info"
  62 + android:layout_marginTop="20dp"
  63 + android:text="切换用户" />
51 64  
52 65 </RelativeLayout>
... ...