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

Commit 55a66da3 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

am: c12c052c

Change-Id: Ibd4b74ea87b4d7a80657ed7e2b49579645018e91
parents b12de6c4 c12c052c
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. */