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

Commit e61d1f80 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Notification method renames.

Test: make
Bug: 37672218
Change-Id: I35abef5f015454c553fd0e06eaa221bb76ce41e7
parent c8f9bd94
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -919,7 +919,7 @@ public abstract class InboundSmsHandler extends StateMachine {
                .setContentTitle(mContext.getString(R.string.new_sms_notification_title))
                .setContentText(mContext.getString(R.string.new_sms_notification_content))
                .setContentIntent(intent)
                .setChannel(TelephonyNotificationBuilder.CHANNEL_ID_SMS);
                .setChannelId(TelephonyNotificationBuilder.CHANNEL_ID_SMS);
        NotificationManager mNotificationManager =
            (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE);
        mNotificationManager.notify(
+1 −1
Original line number Diff line number Diff line
@@ -1561,7 +1561,7 @@ public class ImsPhone extends ImsPhoneBase {
                                .setContentIntent(resultPendingIntent)
                                .setStyle(new Notification.BigTextStyle()
                                .bigText(messageNotification))
                                .setChannel(TelephonyNotificationBuilder.CHANNEL_ID_WFC)
                                .setChannelId(TelephonyNotificationBuilder.CHANNEL_ID_WFC)
                                .build();
                final String notificationTag = "wifi_calling";
                final int notificationId = 1;
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ public class TelephonyNotificationBuilder extends Notification.Builder {
        NotificationChannel channel = getNotificationManager(mContext)
                .getNotificationChannel(channelId);
        if (channel == null) channel = createChannel(mContext, channelId);
        return super.setChannel(channel.getId());
        return super.setChannelId(channel.getId());
    }

    public TelephonyNotificationBuilder(Context context) {