| | |
| | | import cn.flightfeather.thirdapp.CommonApplication; |
| | | import cn.flightfeather.thirdapp.R; |
| | | import cn.flightfeather.thirdapp.activity.LoginActivity; |
| | | import cn.flightfeather.thirdapp.bean.Userinfo; |
| | | import cn.flightfeather.thirdapp.bean.entity.Userinfo; |
| | | import cn.flightfeather.thirdapp.httpservice.SettingsService; |
| | | import cn.flightfeather.thirdapp.util.GlobalConfig; |
| | | import cn.flightfeather.thirdapp.util.push.LoginInitializer; |
| | | import cn.flightfeather.thirdapp.view.SettingCommItemView; |
| | | import okhttp3.ResponseBody; |
| | | import retrofit2.Call; |
| | |
| | | dialog.setPositiveButton("确定", new DialogInterface.OnClickListener() { |
| | | @Override |
| | | public void onClick(DialogInterface dialogInterface, int i) { |
| | | LoginInitializer.INSTANCE.onLoginStatusCheck(getContext(), false, application.getCurrentUser().getAcountname()); |
| | | |
| | | Intent intent = new Intent(getActivity(), LoginActivity.class); |
| | | startActivity(intent); |
| | | getActivity().finish(); |