Don't display errors in ideas tab

pull/14/head
Sam Bosley 13 years ago
parent 46fe19c78f
commit a9c527998c

@ -591,6 +591,7 @@ public class WebServicesView extends LinearLayout {
public void run() { public void run() {
body.removeAllViews(); body.removeAllViews();
if (Constants.DEBUG) {
TextView textView = new TextView(getContext()); TextView textView = new TextView(getContext());
textView.setTextAppearance(getContext(), R.style.TextAppearance_Medium); textView.setTextAppearance(getContext(), R.style.TextAppearance_Medium);
textView.setText(exception.getClass().getSimpleName() + ": " + textView.setText(exception.getClass().getSimpleName() + ": " +
@ -598,6 +599,7 @@ public class WebServicesView extends LinearLayout {
textView.setLines(2); textView.setLines(2);
body.addView(textView); body.addView(textView);
} }
}
}); });
} }

Loading…
Cancel
Save