summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/com/android/dialer/precall/impl/CallingAccountSelector.java2
-rw-r--r--java/com/android/dialer/preferredsim/suggestion/SuggestionProvider.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/java/com/android/dialer/precall/impl/CallingAccountSelector.java b/java/com/android/dialer/precall/impl/CallingAccountSelector.java
index e92832947..8d7d75952 100644
--- a/java/com/android/dialer/precall/impl/CallingAccountSelector.java
+++ b/java/com/android/dialer/precall/impl/CallingAccountSelector.java
@@ -266,7 +266,7 @@ public class CallingAccountSelector implements PreCallAction {
hints.add(context.getString(R.string.pre_call_select_phone_account_hint_frequent));
break;
default:
- throw Assert.createAssertionFailException("unexpected reason " + suggestion.reason);
+ LogUtil.w("CallingAccountSelector.buildHint", "unhandled reason " + suggestion.reason);
}
}
return hints;
diff --git a/java/com/android/dialer/preferredsim/suggestion/SuggestionProvider.java b/java/com/android/dialer/preferredsim/suggestion/SuggestionProvider.java
index bb50889ec..abb6e980a 100644
--- a/java/com/android/dialer/preferredsim/suggestion/SuggestionProvider.java
+++ b/java/com/android/dialer/preferredsim/suggestion/SuggestionProvider.java
@@ -36,6 +36,8 @@ public interface SuggestionProvider {
// The user has select the SIM for this category of calls (contacts from certain accounts,
// etc.).
USER_SET,
+ // The user has selected the SIM for all contacts on the account.
+ ACCOUNT,
}
/** The suggestion. */