am a6f387a0: Merge "Don\'t handle click if the resolver is already finishing." into klp-dev

* commit 'a6f387a0551a82b76e86ae829ae3a39ad043c1c9':
  Don't handle click if the resolver is already finishing.
This commit is contained in:
Amith Yamasani
2013-09-18 13:37:05 -07:00
committed by Android Git Automerger

View File

@@ -280,6 +280,9 @@ public class ResolverActivity extends AlertActivity implements AdapterView.OnIte
}
void startSelected(int which, boolean always) {
if (isFinishing()) {
return;
}
ResolveInfo ri = mAdapter.resolveInfoForPosition(which);
Intent intent = mAdapter.intentForPosition(which);
onIntentSelected(ri, intent, always);