Browse Source

1.清除缓存时不清除学生端App。

0423x6e6f
wangwanlei 1 month ago
parent
commit
5fba959cf2

+ 1
- 1
app/src/main/java/com/xhly/manageapp/utils/StrategyUtils.kt View File

@@ -356,7 +356,7 @@ object StrategyUtils {
356 356
 
357 357
             val strings= arrayListOf<String>()
358 358
             appModelList.forEach {
359
-                if (it.cached==1&&!it.appPackage.equals(context.packageName)){
359
+                if (it.cached==1&&!it.appPackage.equals(context.packageName)&&!it.appPackage.equals(Const.XHLYSTUDENTPKG)){
360 360
                     strings.add(it.appPackage)
361 361
                 }
362 362
             }

+ 5
- 0
corelib/src/main/java/com/xhly/corelib/Const.kt View File

@@ -66,6 +66,11 @@ object Const {
66 66
      */
67 67
     const val STOREAPPPKG = "com.xhkjedu.xh_control_appstore"
68 68
 
69
+    /**
70
+     * 星火云鸽学生端包名
71
+     */
72
+    const val XHLYSTUDENTPKG="com.xhly.easystud"
73
+
69 74
     /**
70 75
      * 输入法包名
71 76
      */

Loading…
Cancel
Save