am c00099ef: Change intent flags for launching FastTrack.
Merge commit 'c00099ef62fc496429d0a06e580b600f61304f9c' into eclair-plus-aosp * commit 'c00099ef62fc496429d0a06e580b600f61304f9c': Change intent flags for launching FastTrack.
This commit is contained in:
@@ -2246,11 +2246,13 @@ public final class ContactsContract {
|
||||
String[] excludeMimes) {
|
||||
// Launch pivot dialog through intent for now
|
||||
final Intent intent = new Intent(ACTION_QUICK_CONTACT);
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP
|
||||
| Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
|
||||
|
||||
intent.setData(lookupUri);
|
||||
intent.putExtra(EXTRA_TARGET_RECT, target);
|
||||
intent.putExtra(EXTRA_MODE, mode);
|
||||
intent.putExtra(EXTRA_EXCLUDE_MIMES, excludeMimes);
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
|
||||
context.startActivity(intent);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user