Skip to content

Commit

Permalink
something changed
Browse files Browse the repository at this point in the history
  • Loading branch information
itlwy committed Jun 24, 2019
1 parent ddbb87b commit 36be822
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/com/lwy/appsmartupdate/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ protected void onCreate(Bundle savedInstanceState) {
setContentView(R.layout.activity_main);
mVersionTV = (TextView) findViewById(R.id.version_tv);
mVersionTV.setText(BuildConfig.VERSION_CODE + "");
registerUpdateCallbak();
// registerUpdateCallbak(); // 需要自定义弹框时打开注释
checkUpdate();

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void onCreate() {
super.onCreate();
Config config = new Config.Builder()
.isDebug(true)
.isShowInternalDialog(false)
// .isShowInternalDialog(false) // 需要自定义弹框时打开注释
.httpManager(new OkhttpManager())
.build(this);
UpdateManager.getInstance().init(config);
Expand Down

0 comments on commit 36be822

Please sign in to comment.