修复部分bug
This commit is contained in:
@ -383,8 +383,7 @@ public class SettingActivity extends BaseActivity implements OnClickListener {
|
||||
|
||||
float version = Float.valueOf(appEntity
|
||||
.getVersion());
|
||||
float currentVersion = Float.valueOf(PackageUtils
|
||||
.getVersion(getApplicationContext()));
|
||||
float currentVersion = Float.valueOf(PackageUtils.getVersion(getApplicationContext()));
|
||||
|
||||
if (version > currentVersion) {
|
||||
// 光环助手 有更新
|
||||
@ -565,20 +564,5 @@ public class SettingActivity extends BaseActivity implements OnClickListener {
|
||||
saveCurrentSetting();
|
||||
super.onDestroy();
|
||||
AppController.canclePendingRequests(TAG);
|
||||
setting_sb_autoinstall = null;
|
||||
setting_sb_autodelete = null;
|
||||
setting_sb_deletedata = null;
|
||||
setting_sb_autoupdate = null;
|
||||
setting_tv_version = null;
|
||||
app_tv_speed = null;
|
||||
app_tv_percent = null;
|
||||
app_btn_cancel = null;
|
||||
setting_tv_cache = null;
|
||||
app_pb_progress = null;
|
||||
sp = null;
|
||||
dialog = null;
|
||||
appEntity = null;
|
||||
handler = null;
|
||||
dataWatcher = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user