Don't display errors in ideas tab

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

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

Loading…
Cancel
Save