예제 #1
0
	@Override
	public void run() {
		if (oldUA != null) {
			ServiceAccount.getInstance().updatePhone(oldUA);
		}
		if (newUA != null) {
			ServiceAccount.getInstance().updatePhone(newUA);
		}
		oldUA = null;
	}
예제 #2
0
	@Override
	public void run() {
		List<AccountDetail> accountList = ServiceAccount.getInstance().getFreezeAccount();
		JSONObject result = new JSONObject();
		result.put(HttpCData.A20001.cdata, accountList);
		Map<String, String> parameters = new HashMap<String, String>();
		parameters.put(HttpCData.A20001.cdata, result.toString());
		parameters.put(HttpCData.A20001.sessionId, sessionId);
		parameters.put(HttpCData.A20001.connectId, connectId + "");
		ThreadManager.requestHttp(new PushSelectAccountRun(callback, parameters));

	}