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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user