diff options
author | David A. Madore <david+git@madore.org> | 2010-05-02 00:16:58 +0200 |
---|---|---|
committer | David A. Madore <david+git@madore.org> | 2010-05-02 00:16:58 +0200 |
commit | ef789edffd1905d1b66c90aa7392fd97252ccbb5 (patch) | |
tree | ef32f7934a381098729c5e047d9a2698129e2bad /src | |
parent | 600031f8b4c473336ba7e4f183c7ad3018dea0aa (diff) | |
download | UnicodeMap-ef789edffd1905d1b66c90aa7392fd97252ccbb5.tar.gz UnicodeMap-ef789edffd1905d1b66c90aa7392fd97252ccbb5.tar.bz2 UnicodeMap-ef789edffd1905d1b66c90aa7392fd97252ccbb5.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/org/madore/android/unicodeMap/UnicodeMapActivity.java | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |