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

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

Merge "Check null for getPhoneAccount() in VoicemailChannelUtils" am: 077dc7af am: ad961010

am: 755f87b6

Change-Id: Icd659c2409519ba0ba8c577dcd085961d6899574
parents 3ce25ba0 755f87b6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -180,6 +180,9 @@ import java.util.Set;
      @NonNull Context context, @NonNull PhoneAccountHandle handle) {
    PhoneAccount phoneAccount =
        context.getSystemService(TelecomManager.class).getPhoneAccount(handle);
    if (phoneAccount == null) {
      return;
    }
    NotificationChannel channel =
        newChannel(context, getChannelIdForAccount(handle), phoneAccount.getLabel());
    migrateVoicemailSoundSettings(context, channel, handle);