V3.0 10-12汇总, 优化我的关注和登录页面
This commit is contained in:
@ -32,6 +32,8 @@ import com.gh.gamecenter.personal.PersonalFragment;
|
||||
import com.kyleduo.switchbutton.SwitchButton;
|
||||
import com.lightgame.download.FileUtils;
|
||||
import com.lightgame.utils.Utils;
|
||||
import com.tencent.bugly.beta.Beta;
|
||||
import com.tencent.bugly.beta.UpgradeInfo;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
|
||||
@ -259,6 +261,18 @@ public class SettingActivity extends BaseActivity implements OnClickListener {
|
||||
fontSize();
|
||||
break;
|
||||
case setting_rl_about:
|
||||
if (BuildConfig.DEBUG) {
|
||||
Beta.checkUpgrade(); // 手动检查热补丁
|
||||
mSettingLoginType.postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
UpgradeInfo upgradeInfo = Beta.getUpgradeInfo();
|
||||
if (upgradeInfo != null) {
|
||||
toast("补丁包大小:" + upgradeInfo.fileSize);
|
||||
}
|
||||
}
|
||||
}, 5000);
|
||||
}
|
||||
startActivity(AboutActivity.getIntent(this));
|
||||
break;
|
||||
case R.id.setting_rl_concerngame:
|
||||
|
||||
Reference in New Issue
Block a user