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.
This commit is contained in:
Eric Fischer
2009-08-22 07:43:44 -07:00
committed by Android Git Automerger

View File

@@ -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);
}