commit | a32cce4b90d60df9dc487e82a9566746e17f1989 | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Thu Jan 13 13:18:12 2011 -0800 |
committer | Dmitri Plotnikov <dplotnikov@google.com> | Thu Jan 13 13:18:12 2011 -0800 |
tree | 947a1d6786cf88de6bac6345f29635733f4fdc6e | |
parent | a3f0bce444d97664e282c10e56d09547f3a0e809 [diff] |
Preventing launch of multiple pickers during widget configuration Bug: 3344426 Change-Id: Ie3083249b49a6bcb1e1cfc5da901cc56e82bc0cd
diff --git a/src/com/android/contacts/socialwidget/SocialWidgetConfigureActivity.java b/src/com/android/contacts/socialwidget/SocialWidgetConfigureActivity.java index 7bfca98..4201cee 100644 --- a/src/com/android/contacts/socialwidget/SocialWidgetConfigureActivity.java +++ b/src/com/android/contacts/socialwidget/SocialWidgetConfigureActivity.java
@@ -31,6 +31,7 @@ // Forward the Intent to the picker final Intent pickerIntent = new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI); + pickerIntent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivityForResult(pickerIntent, 0); }