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,