完成光环前端优化汇总(10月第一周第8点删掉七陌客服) https://gitlab.ghzs.com/pm/halo-app-issues/-/issues/1028

This commit is contained in:
juntao
2020-10-12 15:52:51 +08:00
parent 658fb8579c
commit e51439d584
22 changed files with 420 additions and 437 deletions

View File

@ -35,7 +35,6 @@ import com.gh.common.avoidcallback.AvoidOnResultManager;
import com.gh.common.constant.Config;
import com.gh.common.constant.Constants;
import com.gh.common.exposure.meta.MetaUtil;
import com.gh.common.im.ImManager;
import com.gh.common.loghub.LoghubUtils;
import com.gh.common.repository.ReservationRepository;
import com.gh.common.util.ActivationHelper;
@ -224,10 +223,10 @@ public class MainActivity extends BaseActivity {
checkNotificationPermission();
// 初始化 IM只有在 APP 刚启动时执行
if (HaloApp.get(SHOULD_INIT_IM, false) != null) {
HaloApp.put(SHOULD_INIT_IM, false);
handler.postDelayed(ImManager::attachIm, 1000);
}
// if (HaloApp.get(SHOULD_INIT_IM, false) != null) {
// HaloApp.put(SHOULD_INIT_IM, false);
// handler.postDelayed(ImManager::attachIm, 1000);
// }
ReservationRepository.refreshReservations();