| | |
| | | import com.hdl.photovoltaic.base.CustomBaseActivity; |
| | | import com.hdl.photovoltaic.config.UserConfigManage; |
| | | import com.hdl.photovoltaic.databinding.ActivityMeChangePasswordBinding; |
| | | import com.hdl.photovoltaic.enums.LogoutType; |
| | | import com.hdl.photovoltaic.listener.CloudCallBeak; |
| | | import com.hdl.photovoltaic.other.HdlAccountLogic; |
| | | import com.hdl.photovoltaic.other.HdlLogLogic; |
| | |
| | | dialog.setYesOnclickListener(new ConfirmationCancelDialog.onYesOnclickListener() { |
| | | @Override |
| | | public void Confirm() { |
| | | dialog.dismiss(); |
| | | sendChangePassword(oldPsw, newPsw); |
| | | } |
| | | }); |
| | |
| | | HdlLogLogic.print("B端更改个人密码退出登录--->", true); |
| | | // HdlThreadLogic.tipFlashingBox(_mActivity, true, getString(R.string.home_login_pws_reset_succeeded), 0); |
| | | // HDLLinkPMUser.getInstance().logout(0); |
| | | HdlAccountLogic.getInstance().logout(); |
| | | HdlAccountLogic.getInstance().logout(LogoutType.NormalLogout); |
| | | } |
| | | |
| | | @Override |
| | |
| | | public void onSuccess(String obj) { |
| | | HdlLogLogic.print("C端更改个人密码退出登录--->", true); |
| | | // HDLLinkPMUser.getInstance().logout(0); |
| | | HdlAccountLogic.getInstance().logout(); |
| | | HdlAccountLogic.getInstance().logout(LogoutType.NormalLogout); |
| | | |
| | | |
| | | } |