summaryrefslogtreecommitdiffstats
path: root/core/java/android/widget
diff options
context:
space:
mode:
authorEric Fischer <enf@google.com>2009-08-22 07:43:44 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-08-22 07:43:44 -0700
commit688b0f1235aba0e82ff4eec4d935b494d9c4754d (patch)
tree5a551dd11b6774ab2180022fabc5d6b2a352f13a /core/java/android/widget
parent5f5989de7cac3583a2217b03e9661d2abb1a1d70 (diff)
parent36d5aaec2ee1f11ea80639c8194e4aac2be3892d (diff)
downloadframeworks_base-688b0f1235aba0e82ff4eec4d935b494d9c4754d.zip
frameworks_base-688b0f1235aba0e82ff4eec4d935b494d9c4754d.tar.gz
frameworks_base-688b0f1235aba0e82ff4eec4d935b494d9c4754d.tar.bz2
am 36d5aaec: Merge change 22322 into donut
Merge commit '36d5aaec2ee1f11ea80639c8194e4aac2be3892d' into eclair * commit '36d5aaec2ee1f11ea80639c8194e4aac2be3892d': Add FLAG_ACTIVITY_NEW_TASK flag when adding a word to the dictionary.
Diffstat (limited to 'core/java/android/widget')
-rw-r--r--core/java/android/widget/TextView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java
index e0a268e..a611d5a 100644
--- a/core/java/android/widget/TextView.java
+++ b/core/java/android/widget/TextView.java
@@ -7222,6 +7222,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
if (word != null) {
Intent i = new Intent("com.android.settings.USER_DICTIONARY_INSERT");
i.putExtra("word", word);
+ i.setFlags(i.getFlags() | Intent.FLAG_ACTIVITY_NEW_TASK);
getContext().startActivity(i);
}