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

Commit 34cafa4b authored by Amith Yamasani's avatar Amith Yamasani Committed by Android Git Automerger
Browse files

am 8e4457b0: am d58317b2: am 368daafc: Merge "Only simulate the first click if...

am 8e4457b0: am d58317b2: am 368daafc: Merge "Only simulate the first click if "Always use" button is available" into klp-dev

* commit '8e4457b0':
  Only simulate the first click if "Always use" button is available
parents 36dcadf0 8e4457b0
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -181,13 +181,14 @@ public class ResolverActivity extends AlertActivity implements AdapterView.OnIte
            } else {
                mAlwaysUseOption = false;
            }
        }
            // Set the initial highlight if there was a preferred or last used choice
            final int initialHighlight = mAdapter.getInitialHighlight();
            if (initialHighlight >= 0) {
                mListView.setItemChecked(initialHighlight, true);
                onItemClick(null, null, initialHighlight, 0); // Other entries are not used
            }
        }
    }

    Drawable getIcon(Resources res, int resId) {
        Drawable result;