Skip to content

Commit c81ee28

Browse files
author
videopls
committed
修改videoos_demo环境改变引起的bug
1 parent a4bb79b commit c81ee28

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

VideoOS/videoos_demo/src/main/java/both/video/venvy/com/appdemo/activity/NavigationActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
3434
tv_app_secret = findViewById(R.id.tv_app_secret);
3535

3636
((RadioButton) findViewById(R.id.rb_release)).setChecked(DebugStatus.isRelease());
37-
((RadioButton) findViewById(R.id.rb_debug)).setChecked(DebugStatus.isDebug());
37+
((RadioButton) findViewById(R.id.rb_debug)).setChecked(DebugStatus.isTest());
3838
((RadioButton) findViewById(R.id.rb_preview)).setChecked(DebugStatus.isPreView());
3939
((RadioGroup) findViewById(R.id.rg_environment)).setVisibility(View.GONE);
4040
((RadioGroup) findViewById(R.id.rg_environment)).setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
@@ -48,7 +48,7 @@ public void onCheckedChanged(RadioGroup group, int checkedId) {
4848
case R.id.rb_debug:
4949
ConfigUtil.putAppKey(ConfigUtil.DEV_APP_KEY);
5050
ConfigUtil.putAppSecret(ConfigUtil.DEV_APP_SECRET);
51-
DebugStatus.changeEnvironmentStatus(DebugStatus.EnvironmentStatus.DEBUG);
51+
DebugStatus.changeEnvironmentStatus(DebugStatus.EnvironmentStatus.DEV);
5252
tv_app_key.setText(getString(R.string.current_app_key, ConfigUtil.getAppKey()));
5353
tv_app_secret.setText(getString(R.string.current_app_secret, ConfigUtil.getAppSecret()));
5454
break;

VideoOS/videoos_demo/src/main/java/both/video/venvy/com/appdemo/bean/SettingsBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
public class SettingsBean implements Serializable {
1414

15-
public DebugStatus.EnvironmentStatus mStatus = DebugStatus.EnvironmentStatus.DEBUG;
15+
public DebugStatus.EnvironmentStatus mStatus = DebugStatus.EnvironmentStatus.DEV;
1616
//点播参数相关
1717
public String mAppkey;
1818
public String mUrl;

0 commit comments

Comments
 (0)