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

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

Merge "Dialer: Fix NullPointerException and IllegalStateException"

parents 6be9a771 f4bb9184
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1017,7 +1017,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
        fragment.setHasOptionsMenu(false);
        fragment.setShowEmptyListForNullQuery(true);
        fragment.setQueryString(query, false /* delaySelection */);
        transaction.commit();
        transaction.commitAllowingStateLoss();

        mListsFragment.getView().animate().alpha(0).withLayer();
    }
+2 −2
Original line number Diff line number Diff line
@@ -149,8 +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 != null) && actualNumber.startsWith("+") &&
                !(getQueryString().startsWith("+"))) {
        if ((actualNumber != null) && actualNumber.startsWith("+") && (getQueryString() != null)
                && !(getQueryString().startsWith("+"))) {
            number.append('+');
        }
        number.append(getQueryString());