// Path: app/src/main/java/com/lqr/biliblili/app/utils/SystemUiVisibilityUtil.java
// public class SystemUiVisibilityUtil {
//     public static void addFlags(View view, int flags) {
//         view.setSystemUiVisibility(view.getSystemUiVisibility() | flags);
//     }
// 
//     public static void clearFlags(View view, int flags) {
//         view.setSystemUiVisibility(view.getSystemUiVisibility() & ~flags);
//     }
// 
//     public static boolean hasFlags(View view, int flags) {
//         return (view.getSystemUiVisibility() & flags) == flags;
//     }
// 
//     /**
//      * * 显示或隐藏StatusBar
//      *
//      * @param enable false 显示，true 隐藏
//      */
//     public static void hideStatusBar(Window window, boolean enable) {
//         WindowManager.LayoutParams p = window.getAttributes();
//         if (enable)
//         //|=：或等于，取其一
//         {
//             p.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN;
//         } else
//         //&=：与等于，取其二同时满足，     ~ ： 取反
//         {
//             p.flags &= (~WindowManager.LayoutParams.FLAG_FULLSCREEN);
//         }
// 
//         window.setAttributes(p);
//         window.addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);
//     }
// }


import android.os.Bundle;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.launcher.ARouter;
import com.jess.arms.base.BaseActivity;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.utils.RxLifecycleUtils;
import com.lqr.biliblili.R;
import com.lqr.biliblili.app.utils.SystemUiVisibilityUtil;
import java.util.concurrent.TimeUnit;
import io.reactivex.Observable;
import io.reactivex.android.schedulers.AndroidSchedulers;
package com.lqr.biliblili.mvp.ui.activity;





/**
 * @创建者 CSDN_LQR
 * @描述 启动页面
 */
@Route(path = "/app/splash")
public class SplashActivity extends BaseActivity {

    @Override
    public void setupActivityComponent(AppComponent appComponent) {

    }

    @Override
    public int initView(Bundle savedInstanceState) {
// Path: app/src/main/java/com/lqr/biliblili/app/utils/SystemUiVisibilityUtil.java
// public class SystemUiVisibilityUtil {
//     public static void addFlags(View view, int flags) {
//         view.setSystemUiVisibility(view.getSystemUiVisibility() | flags);
//     }
// 
//     public static void clearFlags(View view, int flags) {
//         view.setSystemUiVisibility(view.getSystemUiVisibility() & ~flags);
//     }
// 
//     public static boolean hasFlags(View view, int flags) {
//         return (view.getSystemUiVisibility() & flags) == flags;
//     }
// 
//     /**
//      * * 显示或隐藏StatusBar
//      *
//      * @param enable false 显示，true 隐藏
//      */
//     public static void hideStatusBar(Window window, boolean enable) {
//         WindowManager.LayoutParams p = window.getAttributes();
//         if (enable)
//         //|=：或等于，取其一
//         {
//             p.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN;
//         } else
//         //&=：与等于，取其二同时满足，     ~ ： 取反
//         {
//             p.flags &= (~WindowManager.LayoutParams.FLAG_FULLSCREEN);
//         }
// 
//         window.setAttributes(p);
//         window.addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);
//     }
// }


// Path: app/src/main/java/com/lqr/biliblili/mvp/ui/activity/SplashActivity.java
import android.os.Bundle;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.launcher.ARouter;
import com.jess.arms.base.BaseActivity;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.utils.RxLifecycleUtils;
import com.lqr.biliblili.R;
import com.lqr.biliblili.app.utils.SystemUiVisibilityUtil;
import java.util.concurrent.TimeUnit;
import io.reactivex.Observable;
import io.reactivex.android.schedulers.AndroidSchedulers;

package com.lqr.biliblili.mvp.ui.activity;





/**
 * @创建者 CSDN_LQR
 * @描述 启动页面
 */
@Route(path = "/app/splash")
public class SplashActivity extends BaseActivity {

    @Override
    public void setupActivityComponent(AppComponent appComponent) {

    }

    @Override
    public int initView(Bundle savedInstanceState) {
        SystemUiVisibilityUtil.hideStatusBar(getWindow(), true);