diff options
Diffstat (limited to 'java/com/android/contacts/common/dialog/CallSubjectDialog.java')
-rw-r--r-- | java/com/android/contacts/common/dialog/CallSubjectDialog.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/com/android/contacts/common/dialog/CallSubjectDialog.java b/java/com/android/contacts/common/dialog/CallSubjectDialog.java index 7bc13fe72..48f292cfa 100644 --- a/java/com/android/contacts/common/dialog/CallSubjectDialog.java +++ b/java/com/android/contacts/common/dialog/CallSubjectDialog.java @@ -531,6 +531,9 @@ public class CallSubjectDialog extends Activity { TelecomManager telecomManager = (TelecomManager) getSystemService(Context.TELECOM_SERVICE); final PhoneAccount account = telecomManager.getPhoneAccount(mPhoneAccountHandle); + if (account == null) { + return; + } Bundle phoneAccountExtras = account.getExtras(); if (phoneAccountExtras == null) { |