From ef789edffd1905d1b66c90aa7392fd97252ccbb5 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Sun, 2 May 2010 00:16:58 +0200 Subject: Title decode string results as "decode results". The string itself may contain nasty stuff, or be too long, or whatever: avoid using it as title. --- src/org/madore/android/unicodeMap/UnicodeMapActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/org') diff --git a/src/org/madore/android/unicodeMap/UnicodeMapActivity.java b/src/org/madore/android/unicodeMap/UnicodeMapActivity.java index f50ef1f..9db0476 100644 --- a/src/org/madore/android/unicodeMap/UnicodeMapActivity.java +++ b/src/org/madore/android/unicodeMap/UnicodeMapActivity.java @@ -568,7 +568,8 @@ public final class UnicodeMapActivity extends ListActivity { } protected void doDecode(String s) { - Display newDisp = new DecodeDisplay(s, s); + Display newDisp = new DecodeDisplay(getResources().getString(R.string.decode_results), + s); saveDisplay(); doDisplay(newDisp, true); } -- cgit v1.2.3