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

Commit bb62fea5 authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser" into froyo

parents ddaaf6c4 289a1bda
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1109,6 +1109,9 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS
     * @return true if a successful launch, false if could not (e.g. bad position).
     */
    protected boolean launchSuggestion(int position, int actionKey, String actionMsg) {
        if (mSuggestionsAdapter == null) {
            return false;
        }
        Cursor c = mSuggestionsAdapter.getCursor();
        if ((c != null) && c.moveToPosition(position)) {