| | |
| | | @Override |
| | | public void onFailure(HDLException error) { |
| | | if (cloudCallBeak != null) { |
| | | cloudCallBeak.onFailure(error); |
| | | cloudCallBeak.onFailure(HttpClient.getException(error)); |
| | | } |
| | | } |
| | | }); |
| | |
| | | @Override |
| | | public void onFailure(HDLException error) { |
| | | if (callBack != null) { |
| | | callBack.onFailure(error); |
| | | callBack.onFailure(HttpClient.getException(error)); |
| | | } |
| | | } |
| | | }); |
| | |
| | | UserConfigManage.getInstance().setTheSameLoginAccount(isUserId);//与上一个账号是否同一个 |
| | | //UserConfigManage.getInstance().getUserId()表示第一次安装登录 |
| | | if (!TextUtils.isEmpty(UserConfigManage.getInstance().getUserId()) && !UserConfigManage.getInstance().isTheSameLoginAccount()) { |
| | | //不同账号,删除之前的旧账号日志信息; |
| | | //不同账号,删除之前的旧账号信息; |
| | | HdlFileLogic.getInstance().deleteDirectory(HdlFileLogic.getInstance().getCurrentUserRootPath()); |
| | | HdlFileLogic.getInstance().deleteDirectory(HdlFileLogic.getInstance().getUserFilePath()); |
| | | UserConfigManage.getInstance().setHomeId(""); |