From dcc1c9a3d08cfada07476502f8a5c3c19ce6c4d7 Mon Sep 17 00:00:00 2001 From: 670848654 <670848654@qq.com> Date: Tue, 4 Feb 2020 14:29:47 +0800 Subject: [PATCH] fix bug --- .../java/my/project/sakuraproject/main/base/BaseActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/my/project/sakuraproject/main/base/BaseActivity.java b/app/src/main/java/my/project/sakuraproject/main/base/BaseActivity.java index 1b42c8e..d0fd6fb 100644 --- a/app/src/main/java/my/project/sakuraproject/main/base/BaseActivity.java +++ b/app/src/main/java/my/project/sakuraproject/main/base/BaseActivity.java @@ -40,7 +40,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) { if (!getRunningActivityName().equals("StartActivity") && !getRunningActivityName().equals("HomeActivity")) overridePendingTransition(R.anim.fade_in, R.anim.fade_out); initBeforeView(); setContentView(setLayoutRes()); - if (TbsVideo.canUseTbsPlayer(this)) SharedPreferencesUtils.setParam(getApplicationContext(),"loadX5",false); + if (TbsVideo.canUseTbsPlayer(this)) SharedPreferencesUtils.setParam(getApplicationContext(),"loadX5",true); if (Utils.checkHasNavigationBar(this)) { getWindow().setFlags( WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,