vr模式隐藏ugc功能

This commit is contained in:
liujing
2020-12-30 16:21:05 +08:00
parent d159c8c276
commit 61bc847596

View File

@@ -1,6 +1,7 @@
package com.mogo.module.v2x.scenario.impl;
import android.content.Intent;
import android.util.Log;
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
@@ -91,7 +92,11 @@ public class V2XScenarioManager implements IV2XScenarioManager {
mV2XScenario = new V2XIllegalParkScenario();
break;
case V2XMessageEntity.V2XTypeEnum.ALERT_EVENT_UGC_WARNING:
mV2XScenario = new V2XEventUgcScenario();
if (V2XServiceManager.getMoGoStatusManager().isVrMode() == false) {
mV2XScenario = new V2XEventUgcScenario();
} else {
mV2XScenario = null;
}
break;
case V2XMessageEntity.V2XTypeEnum.ALERT_VOICE_CALL_FOR_LIVECAR_SHOW:
mV2XScenario = new V2XVoiceCallLiveScenario();