OSDN Git Service

Dismiss FastTrack only after calling startActivity().
authorJeff Sharkey <jsharkey@android.com>
Fri, 2 Oct 2009 02:51:14 +0000 (19:51 -0700)
committerJeff Sharkey <jsharkey@android.com>
Fri, 2 Oct 2009 19:10:01 +0000 (12:10 -0700)
commite1032fa194fbb9117b511e17f9cac60d61fd11f1
treed603c16c81f77f99a3cde7bc1238db7907f8e406
parent6c0f8cf83c2959332e2d883c211144a4b87444a0
Dismiss FastTrack only after calling startActivity().

When launching towards an existing task where the target
activity is already at the top of that task, we triggered
a check in ActivityManager that requires the caller to be
in the foreground.  Before this change, we dismissed the
dialog before calling startActivity(), meaning that in
this case the user action would result in a no-op.

Fixes http://b/2162031
src/com/android/contacts/ui/QuickContactWindow.java