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

Commit 4e256eae authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am c8454a85: am b2b0db2d: Merge "SearchDialog: Fix for NullpointerException...

am c8454a85: am b2b0db2d: Merge "SearchDialog: Fix for NullpointerException while using Suggestions in Browser"

* commit 'c8454a85':
  SearchDialog: Fix for NullpointerException while using Suggestions in Browser
parents 83d97c8c c8454a85
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)) {