|
@@ -238,7 +238,7 @@ object StrategyUtils {
|
238
|
238
|
public fun setSchoolSetDevice(schoolDeviceSetBean: SchoolDeviceSetBean, appList: List<AppInfo>):ArrayList<AppInfo> {
|
239
|
239
|
val dataList = arrayListOf<AppInfo>()
|
240
|
240
|
appList.forEach { appinfo ->
|
241
|
|
- if (ModelNameUtils.IS_LianxX505f()){
|
|
241
|
+ if (ModelNameUtils.IS_LianxX505f()||ModelNameUtils.IS_LianxX6e6f()){
|
242
|
242
|
//启用电话短信:1是0否
|
243
|
243
|
if (schoolDeviceSetBean.simcard == 0 && (appinfo.packageName.equals(Const.ANDROIDPHONE) || appinfo.packageName.equals(Const.ANDROIDMMS))) {
|
244
|
244
|
return@forEach
|
|
@@ -255,10 +255,14 @@ object StrategyUtils {
|
255
|
255
|
if (schoolDeviceSetBean.camera == 1 && appinfo.packageName.equals(Const.ANDROIDCAMERA)) {
|
256
|
256
|
return@forEach
|
257
|
257
|
}
|
258
|
|
- //是否隐藏相册:1是0否
|
|
258
|
+ //是否隐藏相册:1是0否(505f)
|
259
|
259
|
if (schoolDeviceSetBean.gallery == 1 && appinfo.packageName.equals(Const.ANDROIDGALLERY)) {
|
260
|
260
|
return@forEach
|
261
|
261
|
}
|
|
262
|
+ //是否隐藏相册:1是0否(6e6f)
|
|
263
|
+ if (schoolDeviceSetBean.gallery == 1 && appinfo.packageName.equals(Const.ANDROIDGALLERY6)) {
|
|
264
|
+ return@forEach
|
|
265
|
+ }
|
262
|
266
|
}
|
263
|
267
|
//是否隐藏一键加速:1是0否
|
264
|
268
|
if (schoolDeviceSetBean.accelerate==1&&appinfo.packageName.equals(Const.CUSTOMSPEEDAPP)){
|