diff options
Diffstat (limited to 'java/com/android/incallui/StatusBarNotifier.java')
-rw-r--r-- | java/com/android/incallui/StatusBarNotifier.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/com/android/incallui/StatusBarNotifier.java b/java/com/android/incallui/StatusBarNotifier.java index e2340b5e7..ef5965c09 100644 --- a/java/com/android/incallui/StatusBarNotifier.java +++ b/java/com/android/incallui/StatusBarNotifier.java @@ -803,6 +803,9 @@ public class StatusBarNotifier private CharSequence getMultiSimIncomingText(DialerCall call) { PhoneAccount phoneAccount = context.getSystemService(TelecomManager.class).getPhoneAccount(call.getAccountHandle()); + if (phoneAccount == null) { + return context.getString(R.string.notification_incoming_call); + } SpannableString string = new SpannableString( context.getString( |