Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7eed075a authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "Don't call setLastChosen if it's a chooser activity instance" into klp-dev

parents 8a05d041 588dd2a3
Loading
Loading
Loading
Loading
+85 −83
Original line number Diff line number Diff line
@@ -287,6 +287,7 @@ public class ResolverActivity extends AlertActivity implements AdapterView.OnIte
    }

    protected void onIntentSelected(ResolveInfo ri, Intent intent, boolean alwaysCheck) {
        if (mAlwaysUseOption) {
            // Build a reasonable intent filter, based on what matched.
            IntentFilter filter = new IntentFilter();

@@ -386,6 +387,7 @@ public class ResolverActivity extends AlertActivity implements AdapterView.OnIte
                    }
                }
            }
        }

        if (intent != null) {
            startActivity(intent);