liugl
2020-12-22 777737e598c9b56034c42a3d26a3ed46a5b10b26
app/src/main/java/com/okgoincar/slab/MySlabBaseActivity.java
@@ -37,6 +37,7 @@
import com.okgoincar.slab.util.UiUtil;
import com.okgoincar.utils.ActivityCollector;
import com.okgoincar.utils.EasePopup.EasyPopup;
import com.okgoincar.utils.MyUtils;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
@@ -84,6 +85,7 @@
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        initParam();
        MyUtils.getInstans().keepScreenLongLight(this,true);
        EventBus.getDefault().register(this);
        ActivityCollector.addActivity(this, getClass());
        ActivityCollector.getActivityCollector().addActivity(this);
@@ -155,8 +157,8 @@
    }
    public void toDorderAct(String orderId, String orderType){
        MyApplication.Companion.getTTsManager().setVideoText("OK出行,有一条新的订单");
        Intent intent = new Intent(this, SlabTripActivity.class);
        intent.putExtra("orderId",orderId);
        intent.putExtra("orderType",orderType);
@@ -173,6 +175,7 @@
    public void showOrder(String orderId, String orderType,int time,int type) {
        UtilKtKt.calldetailOrderIsYy(this, orderId, orderType, b -> {
            if (b){
                MyApplication.Companion.getTTsManager().setVideoText("OK出行,有一条新的订单");
                Intent intent = new Intent(MySlabBaseActivity.this,SlabGetOrderFragment.class);
                intent.putExtra("orderId",orderId);
                intent.putExtra("orderType",orderType);
@@ -184,7 +187,6 @@
            }
        });
    }
    @Override