Html.fromHtml is removed from CalculatorDisplayView

This commit is contained in:
serso 2016-01-07 12:14:19 +01:00
parent 2215b11e6f
commit be98a7b58e

View File

@ -27,7 +27,6 @@ import android.content.SharedPreferences;
import android.os.Handler;
import android.preference.PreferenceManager;
import android.support.v4.app.FragmentActivity;
import android.text.Html;
import android.util.AttributeSet;
import android.util.TypedValue;
@ -156,7 +155,7 @@ public class AndroidCalculatorDisplayView extends AutoResizeTextView implements
try {
final TextProcessorEditorResult processedText = textHighlighter.process(text);
text = processedText.toString();
result = Html.fromHtml(text);
result = processedText.getCharSequence();
} catch (CalculatorParseException e) {
result = text;
}