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

Commit 38c55cce authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "IMS: Fix dialer app crash due to NPE."

parents 708ba340 07f5e9b6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -149,7 +149,8 @@ public class SearchFragment extends PhoneNumberPickerFragment {

        // Check if actual number had + sign as the first character and query string does not, then
        // return a number with a + sign prefixed to the query string. That will be the dial string.
        if (actualNumber.startsWith("+") && !(getQueryString().startsWith("+"))) {
        if ((actualNumber != null) && actualNumber.startsWith("+") &&
                !(getQueryString().startsWith("+"))) {
            number.append('+');
        }
        number.append(getQueryString());