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

Commit a310c1fa authored by Matt Pietal's avatar Matt Pietal
Browse files

Resolver - 'Always' button broken for non VIEW cases

Users are incorrectly being directed to the settings app when
selecting 'Always', making them unable to actually open an app through
the resolver.

Bug: 132071949
Test: Steps are reported in b/136451610
Change-Id: I11775d7b0b780195f08273ad2b90b8ecd2ee1db4
parent ae80cf39
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -889,7 +889,8 @@ public class ResolverActivity extends Activity {
                : mAdapterView.getCheckedItemPosition();
        boolean hasIndexBeenFiltered = !mAdapter.hasFilteredItem();
        ResolveInfo ri = mAdapter.resolveInfoForPosition(which, hasIndexBeenFiltered);
        if (!ri.handleAllWebDataURI && id == R.id.button_always) {
        if (mUseLayoutForBrowsables
                && !ri.handleAllWebDataURI && id == R.id.button_always) {
            showSettingsForSelected(ri);
        } else {
            startSelected(which, id == R.id.button_always, hasIndexBeenFiltered);