wxr
2022-11-25 41c9c6dc08e1637cb2e0c63486a92ce9fd8faee0
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;
//        }
    }