@Override public void onPostExecute(String xml) { super.onPostExecute(xml); if (this.exception != null) { return; } try { ((ChatActivity) this.activity).resetAvatar(this.config); } catch (Exception error) { this.exception = error; MainActivity.error(this.exception.getMessage(), this.exception, this.activity); return; } }
@Override public void onPostExecute(String xml) { super.onPostExecute(xml); if (this.exception != null) { return; } try { MainActivity.botMode = botMode; ((ChannelBotActivity) this.activity).resetView(); } catch (Exception error) { this.exception = error; MainActivity.error(this.exception.getMessage(), this.exception, this.activity); return; } }