修改测试问题,shouye ytuijian

This commit is contained in:
18401019693 2022-08-10 22:59:58 +08:00
parent 94b795213a
commit e89e8a413f
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ public class SearchHistoryRecordManager extends BaseCacheManager {
* @param value 备注信息 * @param value 备注信息
*/ */
public void addHistoryRecord(String key, String value) { public void addHistoryRecord(String key, String value) {
if (historyRecordList == null) return;
if (historyRecordList.size() == 10) { if (historyRecordList.size() == 10) {
historyRecordList.remove(0); historyRecordList.remove(0);
} }

View File

@ -331,10 +331,10 @@ public class LiveEndViewHolder extends AbsViewHolder implements View.OnClickList
} }
}); });
Bus.get().post(new CloseEvent());
mCheckLivePresenter.checkLive(liveBean); mCheckLivePresenter.checkLive(liveBean);
} else { } else {
Bus.get().post(new CloseEvent());
RouteUtil.forwardUserHome(mContext, String.valueOf(event.getModel().getId()), 0); RouteUtil.forwardUserHome(mContext, String.valueOf(event.getModel().getId()), 0);
if (mContext instanceof LiveAnchorActivity) { if (mContext instanceof LiveAnchorActivity) {
((LiveAnchorActivity) mContext).superBackPressed(); ((LiveAnchorActivity) mContext).superBackPressed();