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

Commit c12c052c authored by twyen's avatar twyen Committed by android-build-merger
Browse files

Merge "Fix NPE when querying preferred without an account" am: 3b42bce6

am: a2ce4a09

Change-Id: I03c8790a6a096bf0fd804e2a3bec0dbd5c5bde42
parents 14dc3431 a2ce4a09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -388,7 +388,7 @@ public class CallingAccountSelector implements PreCallAction {
      if (cursor == null || !cursor.moveToFirst()) {
        return Optional.absent();
      }
      return Optional.of(cursor.getString(0));
      return Optional.fromNullable(cursor.getString(0));
    }
  }

+2 −0
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@ public interface SuggestionProvider {
    USER_SET,
    // The user has selected the SIM for all contacts on the account.
    ACCOUNT,
    // Unspecified reason.
    OTHER,
  }

  /** The suggestion. */