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

This commit is contained in:
Amith Yamasani
2013-09-18 20:35:12 +00:00
committed by Android (Google) Code Review

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