|
@@ -7,6 +7,8 @@ import android.os.Handler;
|
|
|
|
|
|
import com.tencent.bugly.Bugly;
|
|
|
import com.tencent.bugly.beta.Beta;
|
|
|
+import com.tencent.bugly.beta.UpgradeInfo;
|
|
|
+import com.tencent.bugly.beta.upgrade.UpgradeListener;
|
|
|
import com.tencent.bugly.beta.upgrade.UpgradeStateListener;
|
|
|
import com.ysnows.base.base.BApp;
|
|
|
import com.ysnows.base.utils.Toasts;
|
|
@@ -24,7 +26,7 @@ public class InitUpgrade {
|
|
|
|
|
|
public static void initBugly(Context context) {
|
|
|
Beta.autoInit = true;
|
|
|
- Beta.autoCheckUpgrade = true;
|
|
|
+ Beta.autoCheckUpgrade = false;
|
|
|
Beta.enableNotification = true;
|
|
|
Beta.showInterruptedStrategy = true;
|
|
|
Beta.initDelay = 1 * 500;
|