Browse Source

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

* commit '60bd13b1e6aa5db5e7775110dbe312fd1b4c153d':
  fix
master
superman 7 years ago
parent
commit
4d6d2433f9
  1. 10
      designer/src/com/fr/design/mainframe/errorinfo/ErrorInfoUploader.java

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

@ -11,6 +11,8 @@ import com.fr.json.JSONException;
import com.fr.json.JSONObject; import com.fr.json.JSONObject;
import com.fr.license.function.VT4FR; import com.fr.license.function.VT4FR;
import com.fr.log.LogHandler; import com.fr.log.LogHandler;
import com.fr.regist.FRCoreContext;
import com.fr.regist.LicenseListener;
import com.fr.stable.CodeUtils; import com.fr.stable.CodeUtils;
import com.fr.stable.EnvChangedListener; import com.fr.stable.EnvChangedListener;
import com.fr.stable.ProductConstants; import com.fr.stable.ProductConstants;
@ -52,6 +54,14 @@ public class ErrorInfoUploader {
// 这个控制没啥意义, 主要在于宣传功能. // 这个控制没啥意义, 主要在于宣传功能.
licSupport = VT4FR.AlphaFine.support(); licSupport = VT4FR.AlphaFine.support();
FRCoreContext.listenerLicense(new LicenseListener() {
@Override
public void onChange() {
licSupport = VT4FR.AlphaFine.support();
}
});
} }
private ErrorInfoUploader() { private ErrorInfoUploader() {

Loading…
Cancel
Save