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

Commit 755f87b6 authored by twyen's avatar twyen Committed by android-build-merger
Browse files

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

am: ad961010

Change-Id: Id1a122f06100f5a916aafe159a2cd9a94d4db8b8
parents 3381be92 ad961010
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);