版本更新推送增加了一个“从不”的选项,修复微信好友分享不能扫描二维码问题

This commit is contained in:
khy
2016-11-24 17:19:23 +08:00
parent 64827028b5
commit 2dabd5492f
6 changed files with 34 additions and 18 deletions

View File

@ -1163,7 +1163,7 @@ public class MainActivity extends BaseFragmentActivity implements OnClickListene
if ("EVERY_TIME_OPEN".equals(appEntity.getAlert())) {
// 每次都提示
showUpdateDialog(updateMD5);
} else { // TODO 加一个从不提示更新 NEVER
} else if (!"NEVER".equals(appEntity.getAlert())){
// 一天提示一次
String showUpdateTime = sp.getString("show_update_tiem", null);
SimpleDateFormat format = new SimpleDateFormat(