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

Commit 588dd2a3 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Don't call setLastChosen if it's a chooser activity instance

Bug: 10605359
Change-Id: If76f5cf2f45442dc25f9bfbd20a4d671b9caa358
parent 9d7c4d4a
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);