Merge "Don't handle click if the resolver is already finishing." into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a6f387a055
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user