Skip to content

Commit

Permalink
#update bugly
Browse files Browse the repository at this point in the history
  • Loading branch information
wumeng1 authored and wumeng1 committed Sep 13, 2021
1 parent aa1125c commit 0cd3c2f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ public static void init(Context context, String appId, boolean isDebug) {
}

public static void init(Context context, String appId, String channel, boolean isDebug) {
//注意这些设置在bugly init之前
Beta.upgradeDialogLayoutId = R.layout.up_dialog_upgrade;
BuglyManager.setUpgradeListener(new UpgradeListener() {
@Override
public void onUpgrade(int i, UpgradeInfo upgradeInfo, boolean isManual, boolean isSilence) {
Expand Down

0 comments on commit 0cd3c2f

Please sign in to comment.