1
wxr
2022-11-25 b8b429ee4f2528135e2aef4f35e250097fa635ad
AndroidOpenDemo/app/src/main/java/com/lechange/demo/ui/DeviceOnlineMediaPlayActivity.java
@@ -625,7 +625,7 @@
        switchVideoList(true);
        getDeviceLocalCache();
//        tvDeviceName.setText(deviceListBean.channels.get(deviceListBean.checkedChannel).channelName);
        tvDeviceName.setText(bundle.getString("titleText",deviceListBean.channels.get(deviceListBean.checkedChannel).channelName));
        tvDeviceName.setText(bundle.getString("titleText"));
        if(deviceListBean.channels.get(deviceListBean.checkedChannel).resolutions!=null&&deviceListBean.channels.get(deviceListBean.checkedChannel).resolutions.size()>0){
            showHD = false;
@@ -1498,11 +1498,11 @@
                finish();
            }
        }
        if (resultCode == 100 && data != null) {
            String name = data.getStringExtra(DeviceConstant.IntentKey.DHDEVICE_NEW_NAME);
            tvDeviceName.setText(name);
            deviceListBean.channels.get(deviceListBean.checkedChannel).channelName = name;
        }
//        if (resultCode == 100 && data != null) {
//            String name = data.getStringExtra(DeviceConstant.IntentKey.DHDEVICE_NEW_NAME);
//            tvDeviceName.setText(bundle.getString("titleText"));
//            deviceListBean.channels.get(deviceListBean.checkedChannel).channelName = name;
//        }
    }