Skip to content

Commit

Permalink
update proto
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyrain2012 committed Nov 12, 2020
1 parent 6c69d0b commit 6aae2b3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions client/src/main/java/cn/wildfirechat/client/ClientService.java
Original file line number Diff line number Diff line change
Expand Up @@ -665,25 +665,25 @@ public void onFailure(int i) {

@Override
public void searchMyFileRecords(String keyword, long beforeMessageUid, int count, IGetFileRecordCallback callback) throws RemoteException {
// ProtoLogic.searchMyFileRecords(keyword, beforeMessageUid, count, new ProtoLogic.ILoadFileRecordCallback() {
// @Override
// public void onSuccess(ProtoFileRecord[] protoFileRecords) {
// try {
// callback.onSuccess(convertProtoFileRecord(protoFileRecords));
// } catch (RemoteException e) {
// e.printStackTrace();
// }
// }
//
// @Override
// public void onFailure(int i) {
// try {
// callback.onFailure(i);
// } catch (RemoteException e) {
// e.printStackTrace();
// }
// }
// });
ProtoLogic.searchMyFileRecords(keyword, beforeMessageUid, count, new ProtoLogic.ILoadFileRecordCallback() {
@Override
public void onSuccess(ProtoFileRecord[] protoFileRecords) {
try {
callback.onSuccess(convertProtoFileRecord(protoFileRecords));
} catch (RemoteException e) {
e.printStackTrace();
}
}

@Override
public void onFailure(int i) {
try {
callback.onFailure(i);
} catch (RemoteException e) {
e.printStackTrace();
}
}
});
}


Expand Down
Binary file modified mars-core-release/mars-core-release.aar
Binary file not shown.

0 comments on commit 6aae2b3

Please sign in to comment.