Browse Source

1.不再判断是否允许截屏

20241218TB223FC(测试jar包)
wangwanlei 5 months ago
parent
commit
9c7b3437b9

+ 1
- 1
app/src/main/java/com/xhly/manageapp/ui/main/activity/MainActivity.kt View File

1179
     private fun initSchoolSet(schoolDeviceSetBean: SchoolDeviceSetBean? = null) {
1179
     private fun initSchoolSet(schoolDeviceSetBean: SchoolDeviceSetBean? = null) {
1180
         schoolDeviceSetBean?.let { bean ->
1180
         schoolDeviceSetBean?.let { bean ->
1181
             //是否启用截屏:1是0否
1181
             //是否启用截屏:1是0否
1182
-            ManageApplication.enableCaptureScreen(schoolDeviceSetBean.screenshots == 1)
1182
+            //ManageApplication.enableCaptureScreen(schoolDeviceSetBean.screenshots == 1)
1183
             if (bean.schoolClass == 1) {
1183
             if (bean.schoolClass == 1) {
1184
                 mBinding.userschoolTv.visibility = View.VISIBLE
1184
                 mBinding.userschoolTv.visibility = View.VISIBLE
1185
             } else {
1185
             } else {

Loading…
Cancel
Save