Browse Source

1.设置更新策略的点击时间限制。

20241218TB223FC(测试jar包)
wangwanlei 9 months ago
parent
commit
324e3ea697
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/src/main/java/com/xhly/manageapp/AppAdapter.kt

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

62
                     it.changeCode()
62
                     it.changeCode()
63
                 }
63
                 }
64
             }else if (appInfo.packageName.equals(Const.UPDATESTRATEGYPKGNAME)){
64
             }else if (appInfo.packageName.equals(Const.UPDATESTRATEGYPKGNAME)){
65
-                if (lastTimeLong+1*60*1000<System.currentTimeMillis()){
65
+                if (lastTimeLong+20*1000<System.currentTimeMillis()){
66
                     lastTimeLong=System.currentTimeMillis()
66
                     lastTimeLong=System.currentTimeMillis()
67
                     UIEvent(Const.CODE2004.toString()).post()
67
                     UIEvent(Const.CODE2004.toString()).post()
68
                 }else{
68
                 }else{

Loading…
Cancel
Save