[opt 3.0]

[Change]
[1、增加多屏宣传视频播放功能]

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2022-12-27 13:22:43 +08:00
parent b36d3f6f16
commit 1972616d44
101 changed files with 98 additions and 12960 deletions

View File

@@ -1,11 +1,11 @@
package com.mogo.commons.mvp;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.os.Bundle;
import android.os.Looper;
import android.view.MotionEvent;
import android.view.WindowManager;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
@@ -15,7 +15,6 @@ import com.mogo.eagle.core.utilcode.util.BarUtils;
import com.mogo.eagle.core.utilcode.util.SoftKeyBoardJobber;
import me.jessyan.autosize.AutoSizeCompat;
import me.jessyan.autosize.internal.CancelAdapt;
/**
* @author congtaowang
@@ -32,6 +31,8 @@ public abstract class MvpActivity<V extends IView, P extends Presenter<V>> exten
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
BarUtils.hideStatusBarAndSticky(this.getWindow());
getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON,
WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
super.onCreate(savedInstanceState);
setContentView(getLayoutId());
initViews();