Browse Source

Merge pull request #1430 in BA/design from ~JU/9.0release-design:release/9.0 to release/9.0

* commit 'b5e6a41ee5516a58029cd746f1ce2a4e3a126ce5':
  RES-32 公有云注册的支持 功能点性能优化,上层直接用,不要监听了
master
superman 7 years ago
parent
commit
033f8dbb79
  1. 16
      designer/src/com/fr/design/mainframe/errorinfo/ErrorInfoUploader.java

16
designer/src/com/fr/design/mainframe/errorinfo/ErrorInfoUploader.java

@ -35,7 +35,6 @@ public class ErrorInfoUploader {
public static final String FOLDER_NAME = "errorInfo";
private static ErrorInfoUploader collector;
private static boolean licSupport = true;
// 在一台不能上网的电脑里发现了10w个errorinfo...
private static final int MAX_ERROR_SIZE = 2000;
@ -51,17 +50,7 @@ public class ErrorInfoUploader {
});
}
});
// 这个控制没啥意义, 主要在于宣传功能.
licSupport = VT4FR.AlphaFine.support();
FRCoreContext.listenerLicense(new LicenseListener() {
@Override
public void onChange() {
licSupport = VT4FR.AlphaFine.support();
}
});
}
private ErrorInfoUploader() {
@ -83,7 +72,8 @@ public class ErrorInfoUploader {
// 从云中心更新最新的解决方案文件
private void checkUpdateSolution(){
if (!licSupport) {
if (!VT4FR.AlphaFine.support()) {
return;
}

Loading…
Cancel
Save